-
-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARIA jQuery Tabs: keyboard nav conflict ENTER/SPACE on tabs does not make tab active #1760
Comments
Comment 1 by jteh (in reply to comment description) on 2011-09-15 07:28
Is this part of the bug you're reporting? If so, this is correct behaviour: browse mode is meant to browse documents. You should be using focus mode to interact with controls like this using their own keystrokes. This is why enter switches to focus mode; see below.
When you pressed enter, it switched to focus mode and indicated this. This is because NVDA treats this as a control for which proper interaction should be done in focus mode, just as it does for editable text fields, lists, etc. We can change this behaviour to allow enter to activate tabs like we do for radio buttons. I'm not sure whether this is desirable, given the common desire to interact with a tab control using focus mode. Thoughts? |
Comment 2 by parham (in reply to comment 1) on 2011-09-15 08:12
When using Google AdWords, switching to focus mode automatically happens when encountering tabs at the top of the page. I personally find this very, very annoying. Imagine how bad you would feel if you constantly had to switch to object navigation while browsing a window. Browse mode is only for browsing; focus mode is for interaction with controls. So, to the creator of the ticket, this is really not what you'd want. :-) JTeh, I'm not slamming NVDA or anything. I know it's because AdWords, like Facebook, is dependant on AJAX, and this usually happens with NVDA while using AJAX-powered websites because Firefox responds slowly to navigation and the sudden change of focus usually activates focus mode. I don't think it's a -fixable- bug in NVDA (in the Google AdWords case) and I was using AdWords merely as an example. |
Comment 3 by jteh (in reply to comment 1) on 2011-10-10 23:16
Done in 91e7fd3.
Focus mode will still be used if the tab control gets focused some other way; e.g. pressing tab. You can still force focus mode using NVDA+space if desired. |
Comment 4 by kevinchao89 on 2011-10-11 10:09 |
Reported by kevinchao89 on 2011-09-07 02:37
Firefox Nightly 9.0a1 (2011-09-06) and NVDA Main Snapshot 4634
Firefox: http://hanshillen.github.com/jqtest/#goto_tabsdemo-3
2 to go to H2 Tabs, RIGHT/LEFT ARROW to switch among tabs, which does not work, must use pass-through;
ESC to switch to browse mode, ENTER on tab, ESC to switch to browse mode, navigate to next heading, compare focused tab vs selected tab, and notice that nothing was selected;
UP ARROW to tabs, SPACE on tab, ESC to switch to browse mode, navigate to next heading, compare focused tab vs selected tab, and notice that nothing was selected.
The text was updated successfully, but these errors were encountered: