- 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
Consider a photo-sharing app's upload screen: dark-mode theme shipped with untested combos below ratio.
Why it matters
Low-vision and older readers, plus anyone viewing a dim or sunlit screen. On a photo-sharing app's upload screen specifically, they miss information conveyed only by color.
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).
Outcome
Fixed, a visitor to a photo-sharing app's upload screen can see the control's boundary and current state.
Who is affected
Low-vision and older readers, plus anyone viewing a dim or sunlit screen.
Learn more
- Understanding Understanding document (opens in a new tab)
Related scenarios
- Text Color Set Without a Matching Background Color
- Text Placed Directly Over a Photo With No Solid Backing
- Body Text Contrast That Falls Below the 4.5:1 Minimum
- Large Heading Text That Still Falls Below 3:1 Contrast
- Placeholder Text With Contrast Too Low to Read Easily
- Text on a Gradient Background Dropping Below Contrast Ratio