Commit 31a46ab58643c612eb6c9a67a1fa78510481ebc2

Authored by Joanmarie Diggs
1 parent 6fcab989

Don't present unselectedCell for text objects

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
src/orca/speech_generator.py
... ... @@ -836,6 +836,9 @@ class SpeechGenerator(generator.Generator):
836 836 if state.contains(pyatspi.STATE_SELECTED):
837 837 return []
838 838  
  839 + if obj.getRole() == pyatspi.ROLE_TEXT:
  840 + return []
  841 +
839 842 parentRole = obj.parent.getRole()
840 843 if parentRole in [pyatspi.ROLE_TREE_TABLE, pyatspi.ROLE_TABLE]:
841 844 lastKey, mods = self._script.utilities.lastKeyAndModifiers()
... ...