[orca] Don't exit focus mode when navigating to/amongst radio buttons
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't exit focus mode when navigating to/amongst radio buttons
- Date: Fri, 29 Jun 2018 15:43:53 +0000 (UTC)
commit 540da889dab6ecb67cff4a2780738538116018ef
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Jun 29 11:43:08 2018 -0400
Don't exit focus mode when navigating to/amongst radio buttons
src/orca/scripts/web/script.py | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index eeb9751bd..b2a7c908c 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -769,6 +769,11 @@ class Script(default.Script):
debug.println(debug.LEVEL_INFO, msg, True)
return True
+ if self._inFocusMode and obj.getRole() == pyatspi.ROLE_RADIO_BUTTON:
+ msg = "WEB: Staying in focus mode due to role of %s" % obj
+ debug.println(debug.LEVEL_INFO, msg, True)
+ return True
+
msg = "WEB: Not using focus mode for %s due to lack of cause" % obj
debug.println(debug.LEVEL_INFO, msg, True)
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]