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

Ignore elements with tabindex=-1 when tabbing #292

Merged
merged 1 commit into from
Aug 10, 2015

Conversation

roaks3
Copy link
Contributor

@roaks3 roaks3 commented Aug 10, 2015

Elements with tabindex="-1" should not be considered when tabbing through elements in the DOM: http://www.w3.org/html/wg/drafts/html/master/single-page.html#attr-tabindex

With this fix, the ngDialog tab behavior will correctly ignore elements with tabindex="-1". Tested locally and verified the behavior.

Closes #281

@egor-smirnov
Copy link
Member

Awesome, thank you!

egor-smirnov added a commit that referenced this pull request Aug 10, 2015
Ignore elements with tabindex=-1 when tabbing
@egor-smirnov egor-smirnov merged commit bbc10e0 into likeastore:master Aug 10, 2015
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

Successfully merging this pull request may close these issues.

trapFocus breaks on Mac if <a> is the last focusable element
2 participants