[orca] Don't block usage of the text interface for web table rows



commit 5414bff837d97b474e2b45a3918e624c5c1f1896
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Fri Jan 31 15:37:00 2020 -0500

    Don't block usage of the text interface for web table rows
    
    We usually get their text contents from their child cells, but if we
    want to expand all the text under a table, we need to use the table
    row text interface.

 src/orca/scripts/web/script_utilities.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 49834b987..a5cf96bc6 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -1014,7 +1014,7 @@ class Utilities(script_utilities.Utilities):
             debug.println(debug.LEVEL_INFO, msg, True)
             rv = None
         elif not self.isLiveRegion(obj):
-            doNotQuery = [pyatspi.ROLE_TABLE_ROW, pyatspi.ROLE_LIST_BOX]
+            doNotQuery = [pyatspi.ROLE_LIST_BOX]
             role = obj.getRole()
             if rv and role in doNotQuery:
                 msg = "WEB: Treating %s as non-text due to role." % obj


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