[orca] Ensure we update the cursor location in braille for ARIA alert role



commit f32947344c3a43e2660ddc1ce734f08e64404c67
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Apr 22 15:22:23 2020 -0400

    Ensure we update the cursor location in braille for ARIA alert role

 src/orca/formatting.py | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 180579f2e..9fd035d90 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -691,6 +691,10 @@ formatting = {
                                      asString(labelOrName + expandableState + availability) + 
asString(accelerator),\
                                      indicator=asString(checkedStateIfCheckable))]'
             },
+        pyatspi.ROLE_NOTIFICATION: {
+            'unfocused': '((substring and ' + BRAILLE_TEXT + ')\
+                          or ([Component(obj, asString(labelAndName + roleName))]))'
+            },
         pyatspi.ROLE_PAGE: {
             'unfocused': BRAILLE_TEXT
             },


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