System· 15 of 16

15 of 16

Keep keyboard focus visible

Keep a visible indicator on keyboard focus. A custom focus treatment should remain identifiable across the surfaces and display modes where the control appears.

Do
Don’t

Dofocus-visible:outline-2 outline-offset-2

Don’toutline: none with no replacement

Before you ship

  • Can someone locate focus throughout the keyboard path?
  • Is the indicator distinguishable wherever it is drawn?
  • Does it remain visible under zoom, clipping and forced colors?

Next

Limit transitions to intended propertiesSystem · 16 of 16J