[orca] Reduce chattiness with heading descendants



commit 46006ea49c77cb19e36e75b016dd606a7bd61e45
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri May 10 22:45:29 2019 +0200

    Reduce chattiness with heading descendants
    
    We already present the heading information when generating speech for
    descendants of headings. Therefore do not also generate this information
    as part of the ancestry.

 src/orca/scripts/web/speech_generator.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/orca/scripts/web/speech_generator.py b/src/orca/scripts/web/speech_generator.py
index cad53df4c..542b0742a 100644
--- a/src/orca/scripts/web/speech_generator.py
+++ b/src/orca/scripts/web/speech_generator.py
@@ -73,6 +73,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
                                pyatspi.ROLE_MENU_BAR,
                                pyatspi.ROLE_TOOL_BAR]
         args['skipRoles'] = [pyatspi.ROLE_PARAGRAPH,
+                             pyatspi.ROLE_HEADING,
                              pyatspi.ROLE_LABEL,
                              pyatspi.ROLE_LINK,
                              pyatspi.ROLE_LIST_ITEM,


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