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

Adjust focus outline for accessibility + better visual appeal #285

Open
alpower opened this issue Oct 2, 2018 · 0 comments
Open

Adjust focus outline for accessibility + better visual appeal #285

alpower opened this issue Oct 2, 2018 · 0 comments
Assignees

Comments

@alpower
Copy link
Contributor

alpower commented Oct 2, 2018

This sounds like a good idea for Roe.

I’m gonna start blanket adding the following rule to all my stylesheets:

:focus:not(:focus-visible) { outline: none }

Gets rid of the annoying outline for mouse users but preserves it for keyboard users, and is ignored by browsers that don’t support :focus-visible.

from: https://twitter.com/LeaVerou/status/1045768279753666562

@alpower alpower self-assigned this Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant