WCAG 2.1 Focus / Colour Test

The Web Content Accessibility Guidelines (WCAG) 2.1 covers a wide range of recommendations for making Web content more accessible. One of the most complicated is related to focus indication which span multiple criteria. The issue is further complicated by multiple ways to achieve success.

Below you will find success and failures for both links and a form field. Each path has the cumulative requirements and examples of success and failure. You can reference the following sections of WCAG 2.1 for more information:

Links:

Path 1: Rely on Color and / or Secondary Indicator

Requirements:

Failures:

Success:

Path 2: Rely on Color and Graphic as Secondary Indicator

Requirements:

Success:

Path 3 - Rely on Color and Font Change as Secondary Indicator

Requirements:

Success:

Path 4 - Rely on Color and Additional Text as Secondary Indicator

Requirements:

Success:

Form Fields:

Requirements:

Rely on Border, Highlight and Required Indicator

Failures:

Success: