Visible focus

Keyboard users need to see where they are, and a hidden or covered focus indicator leaves them lost.

Tabbing to the Save button. With no visible focus indicator, the person cannot tell where they are and presses Enter on Delete. With a clear outline on the focused button, they stop on Save.

The answer

Always show where keyboard focus is, and never cover it. As strong as the weakest rule behind it: settled.

  • Show where keyboard focus is on everything that works by keyboard.
  • Don’t let sticky bars, banners or other layers completely hide the focused control.

The other rules

  • If you remove the browser’s focus indicator, add your own that stays as long as focus does.
  • You may show the indicator only for keyboard use. It isn’t needed after a mouse click.
  • When a script moves focus, show the indicator on the new element if it was showing before, and on anything that takes focus as it appears.

Accessibility

Open questions

  • OpenDo sighted keyboard users lose their place without an indicator, and how often? The standard says so; no study was found.
  • OpenDoes an indicator that appears only for keyboard use confuse people who switch between mouse and keyboard? Asserted in browser documentation, not tested.
Checked November 12, 2026

Sources