Skip to main content

Lari Maza

Front-end developer and design systems enthusiast from São Paulo, Brazil. Board gamer, aerialist and minimalist with a lifelong obsession for the color black.

Article

Having a Little Fun With Custom Focus Styles

Every front-end developer has dealt or will deal with this scenario: your boss, client or designer thinks the outline applied by browsers on focused elements does not match the UI, and asks you to remove it. Or you might even be looking to remove it yourself.

So you do a little research and find out that this is strongly discouraged, because the focus outline is there for a reason: it provides visual feedback for keyboard navigation (using the Tab … Read article