Images without alternative text
What it means and why it matters
Screen readers announce such images as "image" or read the file name. Product photos without alt text make a shop unusable for blind customers (WCAG 1.1.1).
How to fix it
Add a short alt text that describes the image's purpose (e.g. the product name and colour). Decorative images get an empty alt="".
Code example
Before
<img src="/img/jacket-blue.jpg">
After
<img src="/img/jacket-blue.jpg" alt="Rain jacket, navy blue, front view">
<img src="/img/divider.svg" alt=""> <!-- decorative -->
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.
Images without alternative text
| Country | Shops checked | With this failure |
|---|---|---|
| Poland | 84 | 23 (27%) |
| Czechia | 86 | 36 (42%) |
| Slovakia | 94 | 23 (24%) |
| Croatia | 92 | 32 (35%) |
| Total, wave 1 | 356 | 114 (32%) |
| Germany | 123 | 40 (33%) |
| Austria | 97 | 25 (26%) |
| Total, wave 2 | 220 | 65 (30%) |
| Netherlands | 100 | 29 (29%) |
| Spain | 94 | 35 (37%) |
| France | 101 | 33 (33%) |
| Italy | 101 | 27 (27%) |
| Total, wave 3 | 396 | 124 (31%) |
Where the fix usually lies (a general guide, not a measurement): theme code (empty alt text for decorative images); shop content (meaningful alt text for products and banners); third-party code and apps (images in widgets).
Method, limits and all results: Online shop study.
Other common errors in online shops
- Text has too little contrast
- Links without a readable name
- Touch targets are too small
- Buttons without a readable name
Find this error on your website
Run a free check of any page — results in seconds, with fix instructions.