[orca] Work harder to find presentable text for ARIA alert role
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Work harder to find presentable text for ARIA alert role
- Date: Mon, 20 Apr 2020 14:45:30 +0000 (UTC)
commit c3784fc27ff502dae015b6d9b3d1d491fc773265
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Apr 20 10:43:40 2020 -0400
Work harder to find presentable text for ARIA alert role
The mapping for ARIA alert changed to ATK_ROLE_NOTIFICATION. We needed
to make a corresponding change to ensure displayed text gets presented.
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 38ea48975..180579f2e 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -357,7 +357,7 @@ formatting = {
'basicWhereAmI': 'ancestors + pause + labelOrName + checkedStateIfCheckable + pause +
accelerator + pause + positionInList + ' + MNEMONIC
},
pyatspi.ROLE_NOTIFICATION: {
- 'unfocused': 'roleName + unrelatedLabels'
+ 'unfocused': 'roleName + labelOrName + pause + (expandedEOCs or unrelatedLabels or description)'
},
pyatspi.ROLE_PAGE: {
'focused': 'label + readOnly + currentLineText + anyTextSelection',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]