[orca] Don't treat objects with ROLE_LABEL as an ancestor



commit c746c42dba2f321d93c20b2a642549a2175546cf
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Sep 21 16:58:57 2015 -0400

    Don't treat objects with ROLE_LABEL as an ancestor

 src/orca/scripts/web/speech_generator.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/web/speech_generator.py b/src/orca/scripts/web/speech_generator.py
index 22446a6..e55d676 100644
--- a/src/orca/scripts/web/speech_generator.py
+++ b/src/orca/scripts/web/speech_generator.py
@@ -65,6 +65,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
                                pyatspi.ROLE_MENU_BAR,
                                pyatspi.ROLE_TOOL_BAR]
         args['skipRoles'] = [pyatspi.ROLE_PARAGRAPH,
+                             pyatspi.ROLE_LABEL,
                              pyatspi.ROLE_LIST_ITEM,
                              pyatspi.ROLE_TEXT]
 


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