Skip to main content

Visible Focus

Must haves

  1. When tabbing to interactive elements, there is a highly visible indication of keyboard focus.
  2. The element currently in focus is, itself, visible, and not obscured by other content such as a “sticky” header.
  3. Tip: avoid restyling what comes out of the box within browsers, as long as the visible focus follows the rules stated above (this reduces maintenance)

Learn more about visible focus

Visual Example

Visible Focus Visual Example

Do and Don't

GoodBad
A strong outline is shown when tabbing to the “About” button.There is no indication of focus when tabbing to interactive elements, or it is possible for the element in focus to be obscured by something like a “sticky” header.
Last modified