• Success Criterion 1.4.1
  • Conformance level A

Added and Removed Content Shown Only via Background Color

1.4.1 — Use of Color

Scenario

Setting

A fashion e-commerce site's checkout page

What’s wrong

Diff views (added/removed) shown purely by red/green backgrounds without +/– or labels.

Example

<span class="required-field"></span> <!-- red asterisk only -->

Why it matters

People with color-vision deficiency, low vision, or constrained viewing conditions such as strong glare.

How to test

View a diff/comparison view in grayscale: if added/removed content is shown only via red/green backgrounds with no +/- symbols or labels, it fails.

How to fix

A second visual cue (text, underline, icon, or pattern) must convey the information alongside color.

<span class="required-field">* <span class="visually-hidden">required</span></span>

Color alone (a red dot or border) can't be the only signal — pair it with text or an icon plus label.

Outcome

On a fashion e-commerce site's checkout page, this barrier is gone for people with color-vision deficiency — they reach the same outcome without extra effort.

Who is affected

People with color-vision deficiency, low vision, or constrained viewing conditions such as strong glare.

Learn more