[orca] Present the text of ROLE_FOOTER objects
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Present the text of ROLE_FOOTER objects
- Date: Sat, 6 Jun 2015 00:30:05 +0000 (UTC)
commit 588ee9bb0a4a0fee753b199c98349167a71c606f
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Jun 5 20:28:40 2015 -0400
Present the text of ROLE_FOOTER objects
src/orca/formatting.py | 3 +++
.../scripts/toolkits/Gecko/script_utilities.py | 1 +
.../scripts/toolkits/Gecko/speech_generator.py | 3 ++-
3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index a8c8c9b..498b11b 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -168,6 +168,9 @@ formatting = {
'basicWhereAmI': 'labelOrName + readOnly + textRole + (textContent or placeholderText) +
anyTextSelection + ' + MNEMONIC,
'detailedWhereAmI': 'labelOrName + readOnly + textRole + (textContentWithAttributes or
placeholderText) + anyTextSelection + ' + MNEMONIC + ' + ' + TUTORIAL
},
+ pyatspi.ROLE_FOOTER: {
+ 'unfocused': '(displayedText or name) + roleName',
+ },
pyatspi.ROLE_FORM: {
'focused': 'labelOrName + readOnly + textRole + currentLineText + allTextSelection',
'unfocused': 'labelOrName + readOnly + textRole + currentLineText + allTextSelection + ' +
MNEMONIC,
diff --git a/src/orca/scripts/toolkits/Gecko/script_utilities.py
b/src/orca/scripts/toolkits/Gecko/script_utilities.py
index 662fdab..3c5bf72 100644
--- a/src/orca/scripts/toolkits/Gecko/script_utilities.py
+++ b/src/orca/scripts/toolkits/Gecko/script_utilities.py
@@ -1274,6 +1274,7 @@ class Utilities(script_utilities.Utilities):
pyatspi.ROLE_COLUMN_HEADER,
pyatspi.ROLE_DOCUMENT_FRAME,
pyatspi.ROLE_DOCUMENT_WEB,
+ pyatspi.ROLE_FOOTER,
pyatspi.ROLE_FORM,
pyatspi.ROLE_HEADING,
pyatspi.ROLE_LABEL,
diff --git a/src/orca/scripts/toolkits/Gecko/speech_generator.py
b/src/orca/scripts/toolkits/Gecko/speech_generator.py
index abe5bb1..cdb0053 100644
--- a/src/orca/scripts/toolkits/Gecko/speech_generator.py
+++ b/src/orca/scripts/toolkits/Gecko/speech_generator.py
@@ -195,7 +195,8 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
end = args.get('endOffset')
if not force:
- doNotSpeak = [pyatspi.ROLE_FORM,
+ doNotSpeak = [pyatspi.ROLE_FOOTER,
+ pyatspi.ROLE_FORM,
pyatspi.ROLE_LABEL,
pyatspi.ROLE_MENU_ITEM,
pyatspi.ROLE_PARAGRAPH,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]