[orca] Don't allow static text leaf nodes to have caret context
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't allow static text leaf nodes to have caret context
- Date: Fri, 10 May 2019 19:57:12 +0000 (UTC)
commit b555bb56849afd92691e56e1e195660c2d88554d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri May 10 21:56:49 2019 +0200
Don't allow static text leaf nodes to have caret context
src/orca/scripts/web/script_utilities.py | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 7a9eda345..cb8e70050 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -3670,6 +3670,10 @@ class Utilities(script_utilities.Utilities):
msg = "WEB: Pseudo element cannot have caret context %s" % obj
debug.println(debug.LEVEL_INFO, msg, True)
return False
+ if self.isStaticTextLeaf(obj):
+ msg = "WEB: Static text leaf cannot have caret context %s" % obj
+ debug.println(debug.LEVEL_INFO, msg, True)
+ return False
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]