[orca] Don't repeat the frame role when doing focused presentation



commit da8c7826ec52bc896b9f1961423fedd22c428fd7
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Oct 25 11:46:00 2019 -0400

    Don't repeat the frame role when doing focused presentation
    
    We sometimes need to present name changes which are exposed via the
    window as an indication that the location has changed. But the user
    is not on the frame, so we don't want to present it.

 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 f3d7ecbb2..a8fe183e6 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -230,7 +230,7 @@ formatting = {
             'unfocused': '((substring and currentLineText) or labelAndName) + roleName'
             },
         pyatspi.ROLE_FRAME: {
-            'focused': 'labelOrName + roleName',
+            'focused': 'labelOrName',
             'unfocused': 'labelOrName + roleName + unfocusedDialogCount + availability'
             },
         pyatspi.ROLE_HEADER: {


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