Commit ccb5690e094757d4a4598e8bc410453e9f4adda7

Authored by Joanmarie Diggs
1 parent c0d254c2

Fall back on displayed text for labels which lack an accessible name

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/orca/script_utilities.py
... ... @@ -2303,7 +2303,7 @@ class Utilities:
2303 2303 # Eliminate duplicates and things suspected to be labels for widgets
2304 2304 d = {}
2305 2305 for label in labels:
2306   - name = label.name
  2306 + name = label.name or self.displayedText(label)
2307 2307 if name and name in [rootName, label.parent.name]:
2308 2308 continue
2309 2309 if len(name.split()) < minimumWords:
... ...