Imagine a delivery tracker with three identical dots. One is red, one is amber, and one is green. If the dots are the only status cues, a visitor who cannot distinguish those colors may miss a delay. Add visible words such as “Delayed,” “In transit,” and “Delivered” so each status is clear.
What does WCAG require?
Use of Color (1.4.1) is Level A in WCAG 2.0, 2.1, and 2.2. Whenever color communicates information, signals an action, asks for a response, or distinguishes an element, people need to be able to perceive that distinction visually without having to tell hues apart. Text, shapes, patterns, and sufficient differences in lightness can provide that distinction.
If people must identify a particular color to understand the meaning, such as red for invalid and green for valid, provide another visible cue even if the colors differ strongly in lightness. A name or state available only to a screen reader does not provide that visual cue.
Where color-only cues cause problems
- A form puts a red border around an invalid field without showing an error message.
- Two chart lines use different colors but share the same line style and have no direct labels.
- Links in a paragraph look like ordinary text except for a slight change in color.
How to make the meaning visible
Show an error message beside the field and identify required fields in text or with a clearly explained symbol. Give chart series direct labels or distinct line patterns, and match those patterns in the legend. Use status words beside colored markers so readers can tell both that states differ and what each state means.
For links within paragraphs, a persistent underline is a straightforward choice.
.article-copy a {
text-decoration: underline;
}
W3C’s G183 link technique gives another option when lightness distinguishes inline links. Use at least 3:1 contrast between the link text and surrounding non-link text. Check each text color against its background separately under the applicable text contrast criteria.
How to test color cues
Automated tools can flag some inline links that rely on color and lack enough contrast with nearby text. Review errors, charts, and status changes yourself. Try a grayscale preview to find distinctions that disappear, then inspect the actual design and measure any lightness differences you rely on.
The SimplifyAccess widget’s Highlight Links setting can give visitors extra visual emphasis on links. Add persistent cues in the site’s styles and content so they are available in the default presentation.
Related accessibility requirements
Contrast (Minimum), 1.4.3, covers text readability against the background. The guide to accessible form labels and instructions explains how to make required fields and other input expectations clear before submission.
