[orca] Structural navigation should not kick in when in editable WebKitGtk objects
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Structural navigation should not kick in when in editable WebKitGtk objects
- Date: Sat, 14 Jul 2012 22:33:00 +0000 (UTC)
commit dfd0fd78de4f75e76dc65572c29d57ab11099cc5
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Jul 14 18:31:02 2012 -0400
Structural navigation should not kick in when in editable WebKitGtk objects
src/orca/scripts/toolkits/WebKitGtk/script.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/WebKitGtk/script.py b/src/orca/scripts/toolkits/WebKitGtk/script.py
index 4142fa7..4878091 100644
--- a/src/orca/scripts/toolkits/WebKitGtk/script.py
+++ b/src/orca/scripts/toolkits/WebKitGtk/script.py
@@ -448,9 +448,12 @@ class Script(default.Script):
if not self.utilities.isWebKitGtk(orca_state.locusOfFocus):
return False
+ states = orca_state.locusOfFocus.getState()
+ if states.contains(pyatspi.STATE_EDITABLE):
+ return False
+
role = orca_state.locusOfFocus.getRole()
if role in doNotHandleRoles:
- states = orca_state.locusOfFocus.getState()
if role == pyatspi.ROLE_LIST_ITEM:
return not states.contains(pyatspi.STATE_SELECTABLE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]