[orca] Make braille generation for frames consistent with speech generation



commit e1bb5227b1c66202519584daa97731f0fd3b6e12
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Apr 24 10:14:19 2018 -0400

    Make braille generation for frames consistent with speech generation

 src/orca/formatting.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index e552f70..aef6fee 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -584,9 +584,9 @@ formatting = {
             },
         pyatspi.ROLE_FRAME: {
             'focused':   '[Component(obj,\
-                                     asString(((label + displayedText) or name) + value + roleName + 
alertAndDialogCount))]',
+                                     asString(labelOrName + roleName + alertAndDialogCount))]',
             'unfocused': '[Component(obj,\
-                                     asString(((label + displayedText) or name) + value + roleName + 
alertAndDialogCount))]'
+                                     asString(labelOrName + roleName + alertAndDialogCount))]',
             },
         pyatspi.ROLE_HEADING: {
             'unfocused': '[Text(obj, asString(placeholderText), "", startOffset, endOffset)]\


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