Use of Color
Colour can carry meaning, but never on its own. If removing all colour from the screen would lose information, add a shape, a label, an underline, or an icon.
- Principle
- Perceivable
- Guideline
- 1.4
- Level
- A
- In WCAG since
- 2.0
- Number
- 1.4.1
Broken, then fixed
The same interface twice: first with the mistake, then with the smallest change that fixes it.
Hue is the only signal.
Your order ships in two days. See the delivery schedule for regional cut-off times, or read the returns policy.
Links are blue text and nothing else. In greyscale, at low vision, or on a monochrome display they are indistinguishable from the sentence around them.
A persistent underline was added.
Your order ships in two days. See the delivery schedule for regional cut-off times, or read the returns policy.
The underline survives greyscale, inverted colour, and a monochrome print-out. Colour still helps; it is no longer load-bearing.
How to test
Check your own interface against 1.4.1, one step at a time.
- Find everything on the page that uses colour to say something: links in text, required or invalid form fields, chart lines and segments, status labels, selected tabs, calendar days.
- Turn the page grey with the Rendering panel in Chrome or Edge DevTools (Emulate vision deficiencies, then Achromatopsia) and look at each item again.
- Check each one still says the same thing without colour, through an icon, a text label, an underline, a pattern or a change of shape.
- For links inside a paragraph with no underline, measure the link colour against the text colour around it with the DevTools colour picker or the free Colour Contrast Analyser. Below 3:1, the link needs an underline or another cue that is not colour.
- Read any instruction that names a colour, such as "fields in red are required", and check the same information is given another way.
Common questions
Do links in body text have to be underlined to pass 1.4.1?
No. An underline is the simplest other cue, but W3C also accepts links that differ from the text around them by colour, when the link colour has a contrast ratio of at least 3:1 with that text.
Can I use red to show an error?
Yes, as long as red is not the only sign. Add an icon or a message in text, so a person who cannot tell red from other colours still finds the error.
Does a chart pass 1.4.1 if each line has its own colour?
Only when something else tells the lines apart as well, such as a label at the end of each line, a different marker shape or a dashed pattern.
Try it yourself
A lab is a small working piece of interface that you change yourself. Read its steps, use the controls under it, and watch the verdict line at the bottom: it says whether the criterion passes or fails as you go. Reset puts it back.
Try it: check your own colours
Try it: take the colour away
How to use this lab
- Goal. Make the links and the field in error stand out without relying on colour.
- The controls. “Vision filter” shows the mock in Full colour, in Greyscale, or as seen without red, green or blue cones. The tick boxes under “Add a cue that is not colour” are Underline the links and Mark the error with an icon. The results say whether The links and The field in error each stand out or are lost.
- Try this. The lab starts failing, because the links and the error differ by colour alone. Choose Greyscale and watch both get lost. Then tick Underline the links and Mark the error with an icon.
- What it means. 1.4.1 passes only when both still stand out without colour, which the lab judges in greyscale whatever filter you choose. With colour alone, people who see colour weakly or not at all can’t find the links or the field in error. The verdict line under the lab says which.
- LostThe links: 1.58 : 1 against the text around them, needs 3 : 1. Lost.
- LostThe field in error: 1.34 : 1 against the field beside it, needs 3 : 1. Lost.
1.4.1 fails
Also in guideline 1.4
Criteria in the same guideline often fail together.
- 1.4.2, PerceivableLevel A
Audio Control
Fails when: Autoplaying audio with no control on the page.
- 1.4.3, PerceivableLevel AA
Contrast (Minimum)
Fails when: Hierarchy built by fading text out.
- 1.4.4, PerceivableLevel AA
Resize Text
Fails when: A fixed-height box clips its own text when enlarged.
- 1.4.5, PerceivableLevel AA
Images of Text
Fails when: A headline exported as an image.
- 1.4.10, PerceivableLevel AA
Reflow
Fails when: Fixed-width columns make the page scroll sideways as well as down at 320px wide.
- 1.4.11, PerceivableLevel AA
Non-text Contrast
Fails when: The field and checkbox edges vanish; only the placeholder hints anything is editable.