Issue 03 · July 2026
Focus states are a feature, not a bug
Please stop writing outline: none.
From Mushfiq Alam Sami <mushfiq9912@gmail.com>
Hey, put your mouse down for this one.
Plenty of people never use a mouse. For them, the focus ring is the cursor. Removing it is like hiding the pointer.
Tip of the issue
Use focus-visible, and make it look good
The old complaint was that focus rings appear when you click a button. The fix is not to remove them, it is :focus-visible, which shows the ring for keyboard users and stays quiet for mouse clicks.
Design it on purpose. A two-pixel ring in your accent colour with a small offset reads clearly on both light and dark backgrounds.
:focus-visible {
outline: 2px solid var(--color-action);
outline-offset: 3px;
border-radius: 4px;
}Test it by tabbing through your page. Every link and button should show where you are.
Small challenge
Unplug the mouse
Go through your own site using only Tab, Shift+Tab, Enter and Space. Write down every spot where you lose track of focus or cannot reach something. Fix the three worst ones.
Hint: custom dropdowns and cards that are really clickable divs are the usual suspects.
Worth your time
- :focus-visible on MDN
When browsers show the ring, and how to style it.
- WCAG: Focus Visible
The accessibility requirement behind all of this, in plain language.
Project idea
A keyboard-only checklist
Build a tiny page that walks you through a keyboard test of any URL you paste in, with a tick box per step. Share it with your team so the check stops depending on one person's memory.