[orca] Remove yet another redundant check related to text objects



commit 7fc583459bc04bdb826c67a5fa09e726afff59ae
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Apr 22 22:19:30 2019 -0400

    Remove yet another redundant check related to text objects

 src/orca/scripts/web/script_utilities.py | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 1ed2e23bc..31a9dfb9a 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -941,9 +941,6 @@ class Utilities(script_utilities.Utilities):
                 rv = None
             if rv and self.isNonNavigableEmbeddedDocument(obj):
                 rv = None
-            if rv and role == pyatspi.ROLE_LINK \
-               and (self.hasExplicitName(obj) or self.hasUselessCanvasDescendant(obj)):
-                rv = None
 
         self._text[hash(obj)] = rv
         return rv


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