Skip to content
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

improper tab handling in custom element #37

Open
bkardell opened this issue Aug 6, 2015 · 1 comment
Open

improper tab handling in custom element #37

bkardell opened this issue Aug 6, 2015 · 1 comment

Comments

@bkardell
Copy link
Owner

bkardell commented Aug 6, 2015

in the custom element version of the prototype, when a panel header has focus and the user presses the tab key it advances the focus to the next tab, in the directive version it moves to the panel content (arrow keys move between tabs) - I am pretty sure that the directive version is correct

@LJWatson
Copy link
Collaborator

LJWatson commented Aug 7, 2015

Yes, the directive version is correct. The collection of tabs should only represent a single tab stop (with the currently selected tab set to tabindex="0", and the rest to tabindex="-1"). Pressing the tab key whilst focus is on a tab, should result in keyboard focus moving to the tabpanel/panel content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants