Meet the contrast ratios
Hard
Rule. Give text at least 4.5 to 1 contrast, and give control edges, focus rings, and state fills at least 3 to 1.
Why. Low contrast text is unreadable in sunlight and with low vision, and faint edges hide controls.
- Include placeholder text and text over images.
- Measure in a real browser, not by eye.