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

Enable best practices #612

Merged
merged 3 commits into from
Nov 27, 2017
Merged

Enable best practices #612

merged 3 commits into from
Nov 27, 2017

Conversation

WilcoFiers
Copy link
Contributor

Closes #515. This should not be put in develop-2x

BREAKING CHANGE: Skip-link rule no longer requires skip links with a focusable target.

BREAKING CHANGE: Skip-link rule no longer requires skip lins with a focusable target.
@dylanb
Copy link
Contributor

dylanb commented Nov 23, 2017

@WilcoFiers what was the rationale behind not requiring a focusable target?

@WilcoFiers
Copy link
Contributor Author

@dylanb Chrome used to have the issue that if you had a skiplink to a non-focusable element, it would just blur in place, and the next item in the focus order would just be whatever comes after the skiplink. Other browsers blurred on the target of the skiplink, so that the next focusable element would be the thing after the target of the skiplink. After some testing it looks like this issue has been resolved, so skiplinks now work everywhere, regardless of if the target is focusable or not.

@WilcoFiers WilcoFiers merged commit 740973d into develop Nov 27, 2017
@joelhsmith
Copy link

Excellent! Thank you all!

marcysutton pushed a commit that referenced this pull request Dec 8, 2017
Merge pull request #612 from dequelabs/bp-enabled

BREAKING CHANGE: Skip-link rule no longer requires skip links with a focusable target.

Enable best practices
@marcysutton
Copy link
Contributor

marcysutton commented Dec 8, 2017

I merged this into develop-2x.

Oh crud, and I just saw the comment. I'll remove it in another commit.

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.

None yet

4 participants