Non-Text Color Contrast — WCAG 1.4.11 for Icons, Buttons, and UI Elements
Table of Contents
Most designers know about the 4.5:1 text contrast requirement. Far fewer know about WCAG 1.4.11 — Non-Text Contrast — which was added in WCAG 2.1 and requires a 3:1 contrast ratio for UI components and meaningful graphics. This is why buttons with faint borders, icon-only actions, and form input boundaries are increasingly cited in accessibility audits. Here is what the criterion requires and how to check it.
What WCAG 1.4.11 Non-Text Contrast covers
WCAG Success Criterion 1.4.11 requires a minimum contrast ratio of 3:1 between:
- UI components and their visual states — this includes the visual indicator of a form input (its border against the form background), the state of a checkbox, the appearance of a toggle switch
- Meaningful graphical objects — icons that communicate function or information (not purely decorative images), charts where color communicates data, diagrams where visual elements carry meaning
The key question is: "Could a person with low vision miss this element or misread its state?" If yes, it likely needs to meet 3:1.
Common UI elements that must meet 3:1 contrast
- Input field borders — the border of a text input against the page background. A light gray (#CCCCCC) border on white (#FFFFFF) has a ratio of about 1.6:1 — a common failure.
- Focus rings/outlines — the visible focus indicator around a focused element must contrast 3:1 against the adjacent colors
- Icon-only buttons — when a button has only an icon (no visible text label), that icon must contrast 3:1 against its background
- Checkbox and radio borders — the outer boundary of the input control
- Toggle/switch states — both on and off states need to be visually distinguishable through contrast, not just color
- Select dropdown arrows — if the chevron is the only indicator that a field is a dropdown
What is exempt from WCAG 1.4.11
Not every graphical element needs to meet 3:1:
- Purely decorative graphics — background patterns, decorative illustrations, icons used for visual appeal only
- Disabled component states — components that are disabled and explicitly not interactive are exempt
- Information conveyed by text elsewhere — if an icon is redundant to adjacent text that conveys the same information, the icon alone may not need to meet contrast
- Logos and brand marks — graphical logos are exempt
The principle: contrast is required when the visual element is the user's only reliable cue to the information or function it represents.
How to check non-text contrast
The same contrast checker works for non-text elements. Use the element's stroke or fill color as the foreground, and the color it appears against as the background. Check the "AA Large Text" badge — that threshold is 3:1, which is the non-text contrast requirement.
Practical examples:
- Input border check — enter the border color (e.g., #CCCCCC) as foreground and the form background (e.g., #FFFFFF) as background. The tool will show "AA Large Text: FAIL" if the border is below 3:1.
- Icon check — enter the icon's fill color as foreground and the button background as background. Check the 3:1 threshold.
- Focus ring check — enter the focus outline color as foreground and the element's background color as background
Why non-text contrast is increasingly cited in audits
WCAG 1.4.11 was added in WCAG 2.1 (2018). Older accessibility audits often only checked 1.4.3 (text contrast). As organizations updated their testing methodologies to cover 2.1, 1.4.11 failures started appearing in audit findings regularly.
The most common failure is input field borders. Many design systems use a light gray border (#CCCCCC or similar) on a white background because it looks clean and minimal. The ratio is typically 1.6:1 — well below the 3:1 requirement. The fix is simple: darken the border to at least #767676 on white (#FFFFFF) to reach 3:1.
For new design systems, building 1.4.11 compliance in from the start is straightforward. Retrofitting it into an established system requires auditing every interactive component — not just text.
Try It Free — No Signup Required
Runs 100% in your browser. No data is collected, stored, or sent anywhere.
Open Free Contrast CheckerFrequently Asked Questions
Does the 3:1 non-text contrast apply between the fill of a button and its border?
Not directly. 1.4.11 requires that the visual boundary of the component (often the border) contrasts at least 3:1 against the adjacent background. If the button uses a filled background with no separate border and the button background itself contrasts 3:1 against the page background, that satisfies the requirement.
Are error indicators like red border highlights covered by 1.4.11?
Error indicators that use color alone (like a red border) must not rely solely on color to communicate the error state — that is a different WCAG requirement (1.4.1). The border still needs to meet 3:1 against the background regardless of whether it is a default or error state.

