DEV Community

Discussion on: Style hover, focus, and active states differently

Collapse
 
johannesjo profile image
Johannes Millan • Edited

Not often do I put much thought in these. Thanks for the article!

For many if not most websites (including my own) I feel that the user experience is not optimal regardless of the approach as focus styles tend to look a little misplaced when navigating via the mouse and are sometimes not noticable enough when navigating via the keyboard. I don't know if there is a good solution for all cases, because while I don't care about focus most of the time when I navigate with the mouse, sometimes I really do want to focus an element via the mouse.