< Back to Guides | Learn more at PaulJAdam.com >

Focus Outlines - Accessibility Quick Guide

Keyboard focus outlines must be visible around links, buttons, inputs, and controls when the user is tabbing.

Guidance

  1. Never use CSS :focus {outline:none;}!
  2. Focus outline must have good contrast with the control it surrounds and its background.
  3. Browser default focus outlines do not have good contrast and should not be used.
  4. Enhance the keyboard focus outlines of all controls using CSS outline and outline-offset properties.

Bad Example

PaulJAdam.com

Good Example

PaulJAdam.com