GamutDesk Logo
GamutDesk

WCAG 2.2 Non-Text Contrast (1.4.11) Auditor

Check WCAG 2.2 Criterion 1.4.11 non-text contrast. Test input borders, buttons and icons against adjacent colors for the required 3:1 ratio.

Client-Side ArchitecturePrivate Client-Side Processing

Component colors

Input or button outline at rest

Outline while hovered

Focus ring or outline

Results (minimum 3:1)

Contrast against background
Default border4.54:1Pass
Hover border7.00:1Pass
Focus indicator5.17:1Pass
All checked states meet the 3:1 non-text contrast requirement.

Technical Specification & Mathematical Principles

How the WCAG UI Component Checker Works

Success Criterion 1.4.11 (Level AA, introduced in WCAG 2.1 and retained in 2.2) requires a contrast ratio of at least 3:1 for visual information needed to identify user interface components and states, and for graphical objects required to understand content. Examples include input borders, checkbox outlines, focus indicators and icon-only buttons.

The ratio uses the same relative luminance formula as text contrast. Compare the component color (for example the input border) with each adjacent color (the page background). A button with a filled background needs 3:1 only if the fill is the sole indicator of its boundary; if the text label already identifies it, the fill need not pass.

Frequently Asked Questions

Which parts of a form field must meet 3:1?
The visual boundary needed to identify the field, typically its border or fill, plus the focus indicator and the state indicator of checkboxes and radios. Placeholder and label text follow the text contrast rules instead.
Does a disabled button have to pass?
No. Inactive components are exempt from 1.4.11, though low contrast still hurts usability.
What about hover and focus states?
Each state that conveys information must meet 3:1 against its adjacent colors. Check the default, hover and focus colors separately here.

Related Design & Color Instruments