[orca] Generate the rolename for links even if they were not "just entered"
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Generate the rolename for links even if they were not "just entered"
- Date: Sun, 21 Sep 2014 18:28:14 +0000 (UTC)
commit a9415de227d75fc6edd951d61ed2c9b9bc330e15
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Sep 21 14:27:17 2014 -0400
Generate the rolename for links even if they were not "just entered"
.../scripts/toolkits/Gecko/speech_generator.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/speech_generator.py
b/src/orca/scripts/toolkits/Gecko/speech_generator.py
index 4b2ce95..30f237a 100644
--- a/src/orca/scripts/toolkits/Gecko/speech_generator.py
+++ b/src/orca/scripts/toolkits/Gecko/speech_generator.py
@@ -206,7 +206,8 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
end = args.get('endOffset')
if isinstance(start, int) and isinstance(end, int) \
and not self._script.utilities.justEnteredObject(obj, start, end) \
- and not self._script.utilities.isTextBlockElement(obj):
+ and not self._script.utilities.isTextBlockElement(obj) \
+ and not self._script.utilities.isLink(obj):
return []
# Saying "menu item" for a combo box can confuse users. Therefore,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]