Any keyboard-focusable element must have a clearly visible focus indicator. (WCAG 2.1 SC 2.4.7)
Why This Matters
Keyboard users can't tell which element is focused, making the page unusable without a mouse.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.