[orca] Ensure we present items with description-term and description-value roles
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Ensure we present items with description-term and description-value roles
- Date: Sun, 28 Apr 2019 18:24:13 +0000 (UTC)
commit 22f15a98426168239296a80885c538dc46ad7898
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Apr 28 14:23:44 2019 -0400
Ensure we present items with description-term and description-value roles
src/orca/formatting.py | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 905b42788..e87a3a3f9 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -176,6 +176,12 @@ formatting = {
'focused': 'labelOrName + roleName',
'unfocused': 'labelOrName + roleName + pause + currentLineText + allTextSelection',
},
+ pyatspi.ROLE_DESCRIPTION_TERM: {
+ 'unfocused': '(labelOrName or (displayedText + allTextSelection))',
+ },
+ pyatspi.ROLE_DESCRIPTION_VALUE: {
+ 'unfocused': '(labelOrName or (displayedText + allTextSelection))',
+ },
pyatspi.ROLE_DIAL: {
'focused': 'value',
'unfocused': 'labelOrName + roleName + value + required + availability + ' + MNEMONIC,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]