Making Keyboard Focus Visible

A focus indicator shows which control currently receives keyboard input. It should remain perceivable against its surrounding styles.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace two adjacent buttons
  2. Check multiple displays

Trace two adjacent buttons

Tabbing from cancel to save should move a visible indication to the next control. A pointer hover style does not provide that observation for keyboard navigation. See focus order.

Check multiple displays

Test the indicator on links, buttons, and fields in each supported theme. Make sure outlines are not obscured by neighboring content. Color and contrast help evaluate visibility.[1][2]

References

  1. W3C, Web Content Accessibility Guidelines 2.2 ↩
  2. W3C Web Accessibility Initiative, Forms Tutorial ↩