An Interest In:
Web News this Week
- April 21, 2024
- April 20, 2024
- April 19, 2024
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
November 14, 2018 03:01 pm GMT
Original Link: https://css-tricks.com/keyboard-only-focus-styles/
Keyboard-Only Focus Styles
Like Eric Bailey says, if it's interactive, it needs a focus style. Perhaps your best bet? Don't remove the dang outlines that focusable elements have by default. If you're going to rock a button { outline: 0; }
, for example, then you'd better do a button:focus { /* something else very obvious visually */ }
. I handled a ticket just today where a missing focus style was harming a user who relies on visual focus styles to …
The post Keyboard-Only Focus Styles appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/keyboard-only-focus-styles/
Share this article:
Tweet
View Full Article