[orca] Don't repeat the "alert" role when navigating in the text of an ARIA alert



commit 4170fd745d6044df959b7fe92a3838830e0af948
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Jan 22 13:08:48 2014 -0500

    Don't repeat the "alert" role when navigating in the text of an ARIA alert

 src/orca/scripts/toolkits/Gecko/script.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 18afc54..b98ec24 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -3645,7 +3645,9 @@ class Script(default.Script):
         # that we don't overspeak heading role info, which we're in danger
         # of doing if a heading includes links or images.
         #
-        doNotSpeakRoles = [pyatspi.ROLE_DOCUMENT_FRAME, pyatspi.ROLE_HEADING]
+        doNotSpeakRoles = [pyatspi.ROLE_DOCUMENT_FRAME,
+                           pyatspi.ROLE_HEADING,
+                           pyatspi.ROLE_ALERT]
 
         utterances = []
         prevObj = None


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