Why it matters
- On a phone, people tap with a finger, not a pointer. Small icons placed side by side, such as share buttons or a cart and an account icon, are easy to miss or to swap.
- WCAG 2.2 asks that a pointer target be at least 24 by 24 CSS pixels, or have enough space around it that a 24-pixel circle centred on it does not touch another target (success criterion 2.5.8, level AA).
- The 44 or 48 pixels often quoted are a stricter level-AAA criterion (2.5.5) or a platform's design guideline. We judge by 24, the level-AA figure.
Example
<a href="#reviews" aria-label="التقييمات" style="display:inline-block;width:16px;height:16px"><svg aria-hidden="true" width="16" height="16" viewBox="0 0 16 16"><rect width="16" height="16" /></svg></a><a href="#details" aria-label="التفاصيل" style="display:inline-block;width:16px;height:16px"><svg aria-hidden="true" width="16" height="16" viewBox="0 0 16 16"><rect width="16" height="16" /></svg></a>
<a href="#reviews" aria-label="التقييمات" style="display:inline-block;width:24px;height:24px;margin:4px"><svg aria-hidden="true" width="16" height="16" viewBox="0 0 16 16"><rect width="16" height="16" /></svg></a><a href="#details" aria-label="التفاصيل" style="display:inline-block;width:24px;height:24px;margin:4px"><svg aria-hidden="true" width="16" height="16" viewBox="0 0 16 16"><rect width="16" height="16" /></svg></a>
How to fix
Make the control itself 24 pixels or more, or put space between small ones:
html
<a href="#reviews" aria-label="التقييمات" style="display:inline-block;width:24px;height:24px;margin:4px">…</a>- Padding counts: an icon of 16 pixels inside a link of 24 is a target of 24.
- Links inside a sentence are exempt; this concerns buttons, icons and links that stand on their own.
How we detect
- We render the page at phone size and run axe-core 4.13.0's
target-sizerule in each engine. - It reports each control under 24 by 24 pixels whose 24-pixel circle overlaps another target's.
- Inline links in text, and controls the browser draws itself, are left out, as the criterion says.