[orca] Include unrelated labels and description when displaying dialogs



commit 6f1e653de4c09a0936cb9eceb80f69f42e6348b2
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Jun 12 12:17:52 2020 -0400

    Include unrelated labels and description when displaying dialogs
    
    This makes presentation more consistent with speech presentation.

 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 51e8f802c..ae30ed90a 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -618,7 +618,7 @@ formatting = {
                                      asString(labelOrName + value + roleName + required))]'
             },
         pyatspi.ROLE_DIALOG: {
-            'unfocused': '[Component(obj, asString(labelOrName + roleName))]'
+            'unfocused': '[Component(obj, asString(labelOrName + roleName + (unrelatedLabels or 
description)))]'
             },
         #pyatspi.ROLE_DIRECTORY_PANE: 'default'
         pyatspi.ROLE_DOCUMENT_FRAME: {


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