[orca-list] More cool focus and browse mode stuff to test



Hey all.

I just committed a couple of changes to master:

1. A setting by which you can control whether or not caret navigation
triggers focus mode. The default value is False. That seems to be what
most people indicated they wanted. It is also the default behavior of
NVDA. As with the other (structural navigation / quick key) option, this
is not yet in the GUI. In order to change the value to not be the
default, you currently have to do it via your orca-customizations.py. If
you want caret navigation to trigger focus mode automatically, you can do:

import orca.settings
orca.settings.caretNavTriggersFocusMode = True

2. The ability to set focus mode to sticky. This has a command,
currently bound to Orca+A double click. In this mode, regardless of what
you decide to do with respect to automatic toggling, Orca will pass
along caret navigation keystrokes and structural navigation keystrokes
to Gecko unconsumed (i.e. as if they were not Orca commands). This is
designed mainly for web apps.

Because there is now a sticky focus mode, if you are in focus mode (the
non-sticky variety) and press Tab to move to a link or checkbox or
button or other focusable thing where focus mode is not needed, Orca
will switch back to browse mode. James Teh tells me that this is what he
does for NVDA. It also means that the change I made that Peter pointed
out along with a hack to disable it is no longer there. I hope that is
what you all want.

On a related note: What do you all think the default behavior should be
when you use structural navigation (aka quick keys) to move focus to a
form field? Originally I was thinking that we should try to preserve
Orca's existing default behavior (i.e. default is to automatically
switch to focus mode if it's not a button, checkbox, or radio button).
But given that this whole browse mode, focus mode, sticky focus mode is
a pretty significant change, I no longer feel compelled to keep the
default behavior. So what say you?

Regardless, as for testing the three (two and a half?) modes: A good
site to play with the new support is on Twitter. I've been able to use
caret navigation in browse mode to read lines, structural navigation in
browse mode to jump to links (by quick key k), and then switch to sticky
focus mode to use j and k to read tweets and interact with content
without accidentally triggering an auto browse mode switch. If I do say
so myself, Twitter with Orca master is working pretty nicely now.

Having said that, please be aware that there are some known caret and
text related bugs still. Fun fact: You can currently caret browse list
boxes. <headdesk, headdesk, headdesk> Also, sometimes in DuckDuckGo,
using arrows in the search results moves you from result to result;
other times it moves you in lines with Orca's spewing "YIKES!" errors.
There are other little quirks along these lines. A non-trivial number of
them are the result of all the hacks Orca has trying to implement caret
navigation. These hacks are going to start being ripped out very soon.
Possibly even tomorrow. That should both help with these new features as
well as eliminate some of the looping and text skipping.

Anyhoo... Please try master and let me know what you think. Thanks!
--joanie


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]