• Success Criterion 1.4.3
  • Conformance level AA

Error or Success Message Text With Too-Low Contrast

1.4.3 — Contrast (Minimum)

Scenario

Setting

An online clothing store's product listing page

What’s wrong

Error/success message text in light red/green on white below 4.5:1.

Example

color: #999999; background: #ffffff; /* 2.85:1 */

Why it matters

Low-vision and older readers, plus anyone viewing a dim or sunlit screen.

How to test

Measure error/success message text (often light red/green) against its background: these frequently fall under 4.5:1 and need checking specifically.

How to fix

The text must meet at least 4.5:1 contrast (3:1 for large text) against its actual background in every state (default, hover, focus, selected). color: #595959; background: #ffffff; /* 7:1 */ Normal text needs at least 4.5:1 contrast against its background; large text needs at least 3:1.

Outcome

On an online clothing store's product listing page, this barrier is gone for low-vision and older readers — they no longer have to work around this.

Who is affected

Low-vision and older readers, plus anyone viewing a dim or sunlit screen.

Learn more