WCAG 1.4.11 Non-text Contrast: Fix UI Component Contrast Issues
Last updated: 2026-03-22
What This Criterion Requires
WCAG 1.4.11 requires that user interface components and graphical objects essential to understanding the content have a contrast ratio of at least 3:1 against adjacent colors. This extends contrast requirements beyond text to include form field borders, custom checkboxes and radio buttons, focus indicators, icon buttons, chart elements, and other visual UI indicators. For user interface components, the visual boundary or state indicator (such as a text input border, toggle switch state, or button boundary) must be distinguishable. For graphical objects, each part of the graphic required for understanding must have sufficient contrast. This criterion was introduced in WCAG 2.1 and addresses the common modern design pattern of using minimal, low-contrast UI elements that can be difficult to perceive for users with low vision or color vision deficiency.
Why It Matters
Modern web design trends often favor subtle, low-contrast UI elements: thin light-gray borders on form fields, ghost buttons that blend into backgrounds, and flat icons with insufficient contrast. While these designs may look clean and elegant to users with full vision, they create significant barriers for people with low vision, color blindness, or age-related vision changes. If a user cannot see the boundary of a form field, they may not realize there is a field to fill in. If a chart's data segments are indistinguishable, the information conveyed is lost. Focus indicators that do not meet contrast requirements make keyboard navigation extremely difficult. This criterion ensures that the visual cues we rely on to understand interactive elements and data visualizations remain perceivable to a wide range of users. Unlike text contrast which is well understood, non-text contrast is often overlooked, making it a frequent source of accessibility failures in professionally designed websites.
Common Failures and How to Fix Them
Form input borders with insufficient contrast
Text input fields use a very light border color that is hard to distinguish from the background. Users with low vision may not be able to locate the input fields.
<style>
.input-field {
border: 1px solid #e0e0e0; /* 1.4:1 ratio on white */
padding: 8px 12px;
border-radius: 4px;
}
</style>
<input class="input-field" type="text"> <style>
.input-field {
border: 1px solid #767676; /* 4.54:1 ratio on white */
padding: 8px 12px;
border-radius: 4px;
}
</style>
<input class="input-field" type="text"> Custom checkbox without sufficient contrast in unchecked state
A custom-styled checkbox uses a faint border in its unchecked state, making it difficult for low-vision users to locate or identify the control.
<style>
.custom-checkbox {
width: 20px;
height: 20px;
border: 2px solid #d3d3d3; /* ~1.5:1 on white */
border-radius: 3px;
appearance: none;
}
</style>
<input type="checkbox" class="custom-checkbox"> <style>
.custom-checkbox {
width: 20px;
height: 20px;
border: 2px solid #585858; /* 5.6:1 on white */
border-radius: 3px;
appearance: none;
}
.custom-checkbox:checked {
background-color: #0050d0;
border-color: #0050d0;
}
</style>
<input type="checkbox" class="custom-checkbox"> Focus indicator with poor contrast
The custom focus indicator for interactive elements uses a low-contrast color that is barely visible, making keyboard navigation difficult to track.
<style>
button:focus {
outline: 2px solid #b0d4f1; /* ~1.6:1 on white */
}
</style> <style>
button:focus-visible {
outline: 3px solid #0050d0; /* 6.1:1 on white */
outline-offset: 2px;
}
</style> How to Test
- Inspect form controls (inputs, selects, checkboxes, radio buttons) and measure the contrast ratio of their borders or visual boundaries against the surrounding background.
- Check custom-styled interactive elements (toggles, sliders, tabs) in all states (default, hover, focus, active, disabled) to ensure the state change is perceivable at 3:1.
- Use the Colour Contrast Analyser's eyedropper tool to sample specific non-text elements like icons, chart segments, and borders.
- Navigate using keyboard only and verify the focus indicator is clearly visible with at least 3:1 contrast against adjacent colors.
CMS-Specific Guidance
This criterion commonly causes issues on these platforms:
Further Reading
Related WCAG Criteria
Get our free accessibility toolkit
We're building a simple accessibility checker for non-developers. Join the waitlist for early access and a free EAA compliance checklist.
No spam. Unsubscribe anytime.