[orca] Use same braille formatting string for document-web as document-frame



commit 751194a81a798fdfc49a86e91bf8ee8d98794938
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Oct 11 11:59:19 2018 -0400

    Use same braille formatting string for document-web as document-frame

 src/orca/formatting.py | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 07b5bfa4c..ced03b5cd 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -586,6 +586,12 @@ formatting = {
                           + (readOnly and [Region(" " + asString(readOnly))])',
             'unfocused': BRAILLE_TEXT
             },
+        pyatspi.ROLE_DOCUMENT_WEB: {
+            'focused': '[Text(obj, asString(placeholderText), asString(eol), startOffset, endOffset)]\
+                          + (required and [Region(" " + asString(required))])\
+                          + (readOnly and [Region(" " + asString(readOnly))])',
+            'unfocused': BRAILLE_TEXT
+            },
         pyatspi.ROLE_ENTRY: {
             'unfocused': BRAILLE_TEXT
             },


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