[orca] Eliminate duplicate presentation of table-row content



commit 5e6f89861c4caa2b0fa52cd4825d06e39f6383fd
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Apr 5 17:48:46 2019 -0400

    Eliminate duplicate presentation of table-row content

 src/orca/scripts/web/script_utilities.py | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 5b2d51ee7..c0dd5ca2c 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -2236,6 +2236,8 @@ class Utilities(script_utilities.Utilities):
                or self.isErrorForContents(obj, contents) \
                or self.isLabellingContents(obj, contents):
                 rv = False
+            elif obj.getRole() == pyatspi.ROLE_TABLE_ROW:
+                rv = self.hasExplicitName(obj)
 
             widget = self.isInferredLabelForContents(x, contents)
             alwaysFilter = [pyatspi.ROLE_RADIO_BUTTON, pyatspi.ROLE_CHECK_BOX]


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