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

x/pkgsite: create focus indicators to replace browser defaults #42698

Open
jamalc opened this issue Nov 18, 2020 · 0 comments
Open

x/pkgsite: create focus indicators to replace browser defaults #42698

jamalc opened this issue Nov 18, 2020 · 0 comments

Comments

@jamalc
Copy link
Member

@jamalc jamalc commented Nov 18, 2020

The default style and behavior of focus indicators is set by browsers to make websites more accessible to keyboard only users and those with reduced vision. Their styles vary across browsers and sometimes clash with pkgsite's layout (#40759) and design (#42583). Focus visibility is a WCAG requirement so we can remove the default outlines but we'll need replacement indicators.

When replaced by a box shadow :focus {outline: transparent; } should be used in place of :focus {outline: none; } because box shadows will not appear on some high contrast screens and transparent focus will.

/cc @Joanne881107 @fflewddur for product / UX input

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.