Touch targets are too small
What it means and why it matters
Small icons and links close together are hard to hit for people with motor impairments and on phones (WCAG 2.5.8).
How to fix it
Make interactive targets at least 24×24 CSS pixels or add enough spacing between them.
Code example
Before
<div style="display:flex;gap:4px">
<a href="/fb" aria-label="Facebook" style="width:16px;height:16px"><img src="fb.svg" alt="" width="16" height="16"></a>
<a href="/ig" aria-label="Instagram" style="width:16px;height:16px"><img src="ig.svg" alt="" width="16" height="16"></a>
<a href="/yt" aria-label="YouTube" style="width:16px;height:16px"><img src="yt.svg" alt="" width="16" height="16"></a>
</div>
After
<div style="display:flex;gap:8px">
<a href="/fb" aria-label="Facebook" style="padding:4px"><img src="fb.svg" alt="" width="16" height="16"></a>
<a href="/ig" aria-label="Instagram" style="padding:4px"><img src="ig.svg" alt="" width="16" height="16"></a>
<a href="/yt" aria-label="YouTube" style="padding:4px"><img src="yt.svg" alt="" width="16" height="16"></a>
</div>
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.
Touch targets are too small
| Country | Shops checked | With this failure |
|---|---|---|
| Poland | 84 | 38 (45%) |
| Czechia | 86 | 34 (40%) |
| Slovakia | 94 | 37 (39%) |
| Croatia | 92 | 38 (41%) |
| Total, wave 1 | 356 | 147 (41%) |
| Germany | 123 | 37 (30%) |
| Austria | 97 | 35 (36%) |
| Total, wave 2 | 220 | 72 (33%) |
| Netherlands | 100 | 35 (35%) |
| Spain | 94 | 40 (43%) |
| France | 101 | 45 (45%) |
| Italy | 101 | 39 (39%) |
| Total, wave 3 | 396 | 159 (40%) |
Where the fix usually lies (a general guide, not a measurement): theme code (CSS for sizes and spacing); third-party code and apps (widgets).
The rule target-size checks criterion 2.5.8 of WCAG 2.2. This criterion does not exist in WCAG 2.1 AA, the level to which EN 301 549 v3.2.1 refers.
Method, limits and all results: Online shop study.
Other common errors in online shops
- Text has too little contrast
- Links without a readable name
- 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.