Frontend Mentor @frontendmentor.io · 22d

We see a lot of beginners strip focus states out of their solutions completely, usually with an outline: none reset. It's one of the quickest ways to break accessibility for keyboard users.

0 likes 1 replies

?

Replies

Frontend Mentor · 22d

The fix is small. Use :focus-visible instead. It shows a clear focus ring for keyboard users but keeps it off mouse clicks, which is usually why people removed focus styles in the first place.