Elements in sequential focus order must have a visible focus indicator

keyboard-accessible/focus-visible · WCAG 2.4.7 · Level AA

Elements in sequential focus order must have a visible focus indicator.

Keyboard users need to see which element has focus. Do not remove the default focus outline (outline: none) without providing an alternative visible indicator. Use :focus-visible or :focus styles to ensure focus is always perceivable.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0