Rule
Target size
Interactive targets must be at least 24×24 pixels.
- Rule
target-size- WCAG 2.2
- 2.5.8 Target Size (Minimum) (opens in a new tab) (Level AA)
- Severity
- Serious
What it checks
Measures every link, button, form field and element with role="button" or role="link" that a pointer can reach. A target smaller than 24 by 24 CSS pixels fails unless an exception applies. A field's <label> counts as part of its target, since clicking the label activates the field.
The exceptions are the criterion's own, where the page can show them. Spacing: a small target passes when a circle 24 pixels across, centred on it, meets no other target and no other small target's circle. Inline: a target in a line of text, with words beside it, passes; a row of links with only links beside them does not. User agent: a native control the author has not sized, such as a default checkbox or an unstyled button, passes. Equivalent: a link passes when another link to the same address meets the size.
A target partly covered by another target is measured by the part still left to click. Targets that are disabled, inert, clipped out of view or hidden from the pointer are skipped, and do not crowd others.
When a person decides
Two cases go to a person. A small control may have a larger twin with the same name, handler or aria-controls, which might be an equivalent. And when a stylesheet cannot be read, the rule cannot prove that a small native control was sized by the browser.
Example
Fails
<style>.share a { display: inline-block; width: 16px; height: 16px; }</style>
<div class="share">
<a href="/share/email/" aria-label="Share by email"></a>
<a href="/share/print/" aria-label="Print"></a>
</div>
Passes
<style>.share a { display: inline-block; width: 24px; height: 24px; }</style>
<div class="share">
<a href="/share/email/" aria-label="Share by email"></a>
<a href="/share/print/" aria-label="Print"></a>
</div>
The engine is tested against both examples.
How to fix it
Make the target at least 24 by 24 pixels, with padding if the icon must stay small, or space small targets so each has 24 pixels of clear room.
Check your own pages
This rule runs in every pour audit: the browser extension, the bookmarklet, the command line and the editor. Get pour, free.