[orca/gnome-3-36] Work harder to find presentable text for ARIA alert role



commit 4864790288a86846c409aac41c6dbe59d80b6322
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Apr 20 10:43:40 2020 -0400

    Work harder to find presentable text for ARIA alert role
    
    The mapping for ARIA alert changed to ATK_ROLE_NOTIFICATION. We needed
    to make a corresponding change to ensure displayed text gets presented.

 src/orca/formatting.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 7b7e509eb..92fda06d5 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -358,7 +358,7 @@ formatting = {
             'basicWhereAmI': 'ancestors + pause + labelOrName + checkedStateIfCheckable + pause + 
accelerator + pause + positionInList + ' + MNEMONIC
             },
         pyatspi.ROLE_NOTIFICATION: {
-            'unfocused': 'roleName + unrelatedLabels'
+            'unfocused': 'roleName + labelOrName + pause + (expandedEOCs or unrelatedLabels or description)'
             },
         pyatspi.ROLE_PAGE: {
             'focused': 'label + readOnly + currentLineText + anyTextSelection',


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