Focus Ring! -- A11ycasts #16

Chrome for Developers on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateAccessibility8 min

About this video

Explains why removing the browser focus indicator with outline: none hurts keyboard users, and shows how the :focus-ring selector and polyfills can distinguish keyboard focus from mouse focus. Aimed at developers who style interactive elements on the web.

What you’ll learn

  • Explain why removing the focus indicator harms keyboard users
  • Apply the :focus-ring selector to separate keyboard focus styles from mouse focus
  • Use a :focus-ring polyfill to improve focus styles on existing sites