[orca] Treat treeitems as a whole for the purpose of caret navigation



commit 7fce992e11bd3330e54da5ae4868c4fe5898d24d
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Mar 17 14:24:09 2020 -0400

    Treat treeitems as a whole for the purpose of caret navigation
    
    Descending treeitems can cause us to find the elements used to display
    the text and then fail to present the relevant information for the item
    itself.

 src/orca/scripts/web/script_utilities.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 8132a91f5..1d67a19dc 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -1007,6 +1007,7 @@ class Utilities(script_utilities.Utilities):
                  pyatspi.ROLE_TOOL_BAR,
                  pyatspi.ROLE_TOOL_TIP,
                  pyatspi.ROLE_TREE,
+                 pyatspi.ROLE_TREE_ITEM,
                  pyatspi.ROLE_TREE_TABLE]
 
         role = obj.getRole()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]