• Success Criterion 1.4.3
  • Conformance level AA

Dark Mode Theme Shipped With Untested Contrast Combinations

1.4.3 — Contrast (Minimum)

Scenario

Setting

A photo-sharing app's upload screen

What’s wrong

Dark-mode theme shipped with untested combos below ratio.

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

Toggle dark mode and re-measure every text/background combination: colors that pass in light mode often fail when inverted.

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 a photo-sharing app's upload screen, this barrier is gone for low-vision and older readers — they can finish what they came here to do.

Who is affected

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

Learn more