Skip to content
1.4.1 · Level A · WCAG 2.0 · Perceivable → Distinguishable

Use of Color

Colour is never the only way information is conveyed. A required field, an error, a selected tab, or a link inside a paragraph is also marked by text, an icon, an underline, or a shape.

Why it matters

Around one in twelve men cannot reliably tell red from green. A form that marks errors only by turning the border red, or a paragraph whose links differ from the surrounding text only by colour, is unusable for them — and for anyone on a poorly calibrated screen.

Automatically detected

axe-core catches one specific case: a link inside a block of text that is distinguished from the text by colour alone. Every other use of colour as the sole signal — status indicators, chart legends, required-field markers — needs a person to spot.

Related axe-core rules: link-in-text-block

Fails

<p>Read the <a href="/terms" style="color: #2448c9; text-decoration: none;">terms</a> before you continue.</p>

The link is blue and the text is dark grey. With the underline removed, colour is the only thing that says the word is a link.

Passes

<p>Read the <a href="/terms">terms</a> before you continue.</p>

The default underline stays. Colour can still differ, but it is no longer the only cue.

Openwell finds violations like this one across your whole site, clusters them by the component that caused them, and generates a fix that's re-validated before you see it.

Scan your site free
WCAG 1.4.1 Use of Color — what it requires and how to fix it — Openwell