[orca] Make ARIA gridcell cells caret-navigable if browse mode is sticky
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Make ARIA gridcell cells caret-navigable if browse mode is sticky
- Date: Mon, 25 May 2020 20:05:54 +0000 (UTC)
commit d97ab74bb91969c6902a5b7b632e1f21f490e3c1
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon May 25 15:56:03 2020 -0400
Make ARIA gridcell cells caret-navigable if browse mode is sticky
ARIA grids are expected to have author-provided navigation, just like
ARIA's application role. When they don't, Orca's browse mode makes
navigation via the arrows work in the manner expected to have been
provided by the author. But that doesn't provide for caret navigation
within a cell. We solved this problem for badly-authored application-
role use by allowing sticky browse mode to let the user completely take
over navigation. So do the same thing for grid cells.
src/orca/scripts/web/script_utilities.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 584b8bcbf..e77211f4b 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -1077,7 +1077,7 @@ class Utilities(script_utilities.Utilities):
if role == pyatspi.ROLE_TABLE_CELL:
if self.isFocusModeWidget(obj):
- return True
+ return not self._script.browseModeIsSticky()
if self.hasNameAndActionAndNoUsefulChildren(obj):
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]