Language: EN

Touch targets are too small

Message shown by axe and Lighthouse: All touch targets must be 24px large, or leave sufficient space · target-size · WCAG 2.5.8

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

CountryShops checkedWith this failure
Poland8438 (45%)
Czechia8634 (40%)
Slovakia9437 (39%)
Croatia9238 (41%)
Total, wave 1356147 (41%)
Germany12337 (30%)
Austria9735 (36%)
Total, wave 222072 (33%)
Netherlands10035 (35%)
Spain9440 (43%)
France10145 (45%)
Italy10139 (39%)
Total, wave 3396159 (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

Find this error on your website

Run a free check of any page — results in seconds, with fix instructions.

Check a page for free

All accessibility errors

Order a paid plan

Leave your email and we'll contact you as soon as the plan can be ordered.