Text has too little contrast
What it means and why it matters
People with low vision or bright screens can't read low-contrast text. WCAG 1.4.3 requires 4.5:1 for normal text and 3:1 for large text.
How to fix it
Darken the text or lighten the background until the ratio is at least 4.5:1. Check button labels, placeholders, prices and footer links.
Code example
Before
<p style="color:#9a9a9a; background:#ffffff">Free delivery from €49</p> <!-- 2.8:1 -->
After
<p style="color:#595959; background:#ffffff">Free delivery from €49</p> <!-- 7.0:1 -->
In our study
Share of online shop home pages on which axe-core automatically detected at least one failure of this rule. The number of shops is in brackets.
Text has too little contrast
| Country | Shops checked | With this failure |
|---|---|---|
| Poland | 84 | 59 (70%) |
| Czechia | 86 | 68 (79%) |
| Slovakia | 94 | 75 (80%) |
| Croatia | 92 | 75 (82%) |
| Total, wave 1 | 356 | 277 (78%) |
| Germany | 123 | 90 (73%) |
| Austria | 97 | 80 (82%) |
| Total, wave 2 | 220 | 170 (77%) |
| Netherlands | 100 | 84 (84%) |
| Spain | 94 | 77 (82%) |
| France | 101 | 85 (84%) |
| Italy | 101 | 73 (72%) |
| Total, wave 3 | 396 | 319 (81%) |
Where the fix usually lies (a general guide, not a measurement): theme code (default palette and CSS); shop content (brand colours and text on banners and images); third-party code and apps (styles of widgets such as cookie banners, chat and reviews).
Method, limits and all results: Online shop study.
Other common errors in online shops
- Links without a readable name
- Touch targets are too small
- Images without alternative text
- Buttons without a readable name
Find this error on your website
Run a free check of any page — results in seconds, with fix instructions.