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

fixes #848 - Disabled pagination links should not be focusable #891

Closed
wants to merge 1 commit into from

Conversation

treasonx
Copy link
Contributor

@treasonx treasonx commented Apr 9, 2014

Removing the tabIndex will cause browsers to skip it in tab order.

Updated unit tests to check tab index value.

fixes #848

Setting the tabIndex to -1 will cause browsers to skip it in tab order.
@kfranqueiro
Copy link
Contributor

This unfortunately causes keyboard focus to be entirely lost on what was previously the focused element when using the keyboard to move between pages, which is arguably a more severe a11y issue than what this was trying to address. I'm working on fixing that in my pagination-tab branch.

@kfranqueiro kfranqueiro closed this Aug 8, 2014
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.

Disabled pagination links should not be focusable
2 participants