[orca] Prefer the displayed text over the accessible name for labels
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Prefer the displayed text over the accessible name for labels
- Date: Mon, 23 Jan 2017 19:11:17 +0000 (UTC)
commit 932506c90e8d3da4732e38f4d6c509f4f61afc39
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Jan 23 20:09:10 2017 +0100
Prefer the displayed text over the accessible name for labels
src/orca/formatting.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 4b4863d..23ff21f 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -222,9 +222,9 @@ formatting = {
'unfocused': 'labelAndName + unrelatedLabels'
},
pyatspi.ROLE_LABEL: {
- 'focused': 'labelAndName + allTextSelection + roleName',
- 'unfocused': 'labelAndName + allTextSelection + roleName',
- 'basicWhereAmI': 'labelAndName + allTextSelection + roleName'
+ 'focused': 'displayedText + allTextSelection + roleName',
+ 'unfocused': 'displayedText + allTextSelection + roleName',
+ 'basicWhereAmI': 'displayedText + allTextSelection + roleName'
},
pyatspi.ROLE_LANDMARK: {
'focused': 'leaving or (labelAndName + roleName)',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]