Home
Bookmarks
Leagues
LEARN
Courses
Career Paths
Assessments
Tutorials
Arcade
Glossary
GROW
Certifications
Log in
Glossary
Log inSign up
Courses/Introduction to Design Systems/Accessibility First: WCAG & Inclusive Foundations/
Exercise #4

Visible Focus Rings & Focus Management

One of the most catastrophic mistakes in web design is removing the browser's default outline using CSS outline: none without providing an accessible alternative. Without a visible focus indicator, sighted keyboard users cannot tell which element currently has focus.

A modern design system provides a dedicated focus ring token:

  • High Contrast: The focus ring must achieve at least a 3.0:1 contrast ratio against both the component and the surrounding background.
  • Offset / Separation: Use a 2px offset (outline-offset: 2px or a double-ring shadow) so the ring does not blend into the component border.
  • Keyboard-Only Heuristic (:focus-visible): Use CSS :focus-visible so focus rings appear for keyboard navigation (Tab/Arrow keys) but remain discreet during mouse clicks.

Topics

Accessibility as a Systemic Multiplier
The 4 Core Principles of WCAG (POUR)
Color Contrast Standards: WCAG AA vs AAA
Visible Focus Rings & Focus Management
Focus Trapping in Modals & Dialogs
ARIA: When to Use It and the 'First Rule of ARIA'
Touch Targets & Pointer Cancellation (WCAG 2.2)
Motion Sensitivity & `prefers-reduced-motion`
Screen Reader Testing & Semantic Landmarks
Challenge: Auditing an Inaccessible Form Field

From lesson

2

Accessibility First: WCAG & Inclusive Foundations

Level 2 · Core Principles & Governance

Top contributors

Community contribution details will appear here once real learner activity is available.

Share