[orca] Speak "alert" role before its name rather than after



commit 7c076680aa6d1e55a05923b37fb98d7ab4d4e8e0
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Mar 30 10:39:44 2020 -0400

    Speak "alert" role before its name rather than after
    
    We are seeing some alerts whose accessible name is the start of the
    alert message. This results in an awkward presentation with the role
    interrupting the message. Since we cannot control/fix all the alerts
    out there, reversing the order of presentation seems like the sanest
    approach. Plus doing so alerts (as it were) the user to the nature of
    the message about to be spoken.

 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..4ab1425e6 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -129,7 +129,7 @@ formatting = {
             'detailedWhereAmI' : 'pageSummary'
             },
         pyatspi.ROLE_ALERT: {
-            'unfocused': 'labelOrName + roleName + pause + (expandedEOCs or unrelatedLabels or description)'
+            'unfocused': 'roleName + labelOrName + pause + (expandedEOCs or unrelatedLabels or description)'
             },
         pyatspi.ROLE_ANIMATION: {
             'unfocused': 'labelAndName'


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