Closed araligan closed 5 years ago
It's there for accessibility. Check out this article I found that discusses how to remove outlines without impacting accessibility.
Removing the outline makes it impossible very hard for keyboard-only users to navigate your website, unless you add custom :focus
styling in a manner where it is clear to the user that an element is focused.
Take a look at :focus-visible
, it hasn't been finalized nor implemented widely yet so you will have to use the polyfill.
For more info at MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible
Maybe this issue can be closed now?
https://stackoverflow.com/questions/20340138/remove-blue-border-from-css-custom-styled-button-in-chrome
Maybe this one should be included on the normalization. Thanks :)