Skip to content

WCAG 1.4.1: Use of colour

In European law this criterion is EN 301 549 clause 9.1.4.1 — chapter 9, the part of the harmonised standard that applies to websites under the European Accessibility Act.

How to test by hand

Automated checks find only some failures of this criterion. These steps cover the rest.

You need

Steps

  1. Find every place where colour carries meaning: required or invalid form fields, error and success messages, chart series, status badges, legends. For each one, check that a text label, icon, pattern or number says the same thing as the colour.
  2. Submit a form with a required field left empty or filled incorrectly. Check that the problem field is marked by more than a red outline or red text, for example an icon or an error message in words.
  3. Look at links inside paragraphs. If they are not underlined or otherwise marked, measure the link colour against the surrounding text colour with a contrast checker; it needs at least 3:1, or another visual cue such as an underline.
  4. Take screenshots of charts, maps and coloured diagrams and view them in a colour-blindness simulator. Check that series and categories can still be told apart by labels, numbers or patterns, not only by hue.
  5. Where only a colour change shows a state (for example green outline for valid, red for invalid), confirm there is also a non-colour indicator; a contrast difference alone is not enough when the user must recognise a particular colour.
Passes when
Every piece of information, action or state shown by colour is also shown by text, shape, pattern, an underline, or a lightness difference of at least 3:1.
Fails when
Some meaning, such as which field has an error or which line in a chart is which, can only be understood by telling colours apart.

Note: W3C states that colour-only differences between visited and unvisited links are not a failure of this criterion, and that a link styled no differently from surrounding text does not fail it either (no colour is used).

Steps are based on W3C’s Understanding WCAG 2.2: 1.4.1 Use of colour, which explains the intent, examples and exceptions in full. A manual check by you is a first look, not an audit: it does not make a site conformant and is not a substitute for testing by an experienced auditor with real assistive technology users. How we separate what a machine can and cannot check is explained in our methodology; for a full audit, see the directory of accessibility agencies.

What automation checks

One axe-core rule tests failures of this criterion. Our scanner runs it on every page it visits:

  • link-in-text-block

What automation cannot prove

An automated test finds some failures of WCAG 1.4.1; it cannot confirm the criterion is met. Whether the result actually works for people — in context, with real content — is a judgement call that needs a human auditor. Nothing on this page is a statement of conformance or legal advice. The full map of what our scanner covers and where it stops is on what our scanner checks.

Related guides

Does your site pass this check?

Free instant scan. No signup required. WCAG 1.4.1 is one of the criteria it tests.

Scan website