Control too small
The finding means a link or button is smaller than 24 by 24 CSS pixels and also lacks enough space around it. Icon buttons, page numbers, carousel dots and tightly stacked link lists are the usual suspects. Add padding to the control itself, or leave more room between the targets.
Last reviewed: Sources
The message
- Identifier
-
target-size - Type of check
- automatic
- Severity
- moderate
- Success criterion
- Meaning
- The clickable area is smaller than 24 by 24 pixels, and there is no sufficient spacing to neighbouring targets either.
- Impact
- People who cannot hold their hand steady, or who tap on a small screen, miss the target or hit the wrong one.
- Fix
- Enlarge the control to at least 24 by 24 pixels, for instance with padding, or move the targets further apart.
How does your website stand?
The free check shows what can be measured automatically, with the location. No account.
Check website for freeWhat the rule checks
axe looks at every focusable control: links, buttons, form fields and elements with a widget role. Links inside running text are left out, because the criterion has an exception for them. It measures the largest area of the element that no other control covers. If that area reaches 24 by 24 CSS pixels, the target passes. Anything that is not a control, such as a badge or a graphic, is not subtracted from the area. A target that lies completely underneath another element passes this rule.
If the target is smaller, axe checks the spacing instead: a circle 24 pixels in diameter around its centre must not intersect another target, nor the circle of another undersized target. The rule only reports the target when both checks fail. When the content spills beyond the area, the size cannot be measured reliably, and the spot appears as an uncertain result with a screenshot for review.
2.5.8 Target Size (Minimum) (Level AA) belongs to WCAG 2.2. When the check runs against WCAG 2.1, the finding is listed as a recommendation in the report.
Common causes
- Icon buttons the size of their icon. Close crosses, search magnifiers, social media icons: the link or button is exactly as large as the image inside it.
- Page numbers and carousel dots. Small targets packed closely together, so that their circles overlap.
- Link lists in small type. Links stacked in the footer with little line spacing, almost touching each other.
- Overlap by neighbours. A neighbouring link or button reaches into the area through a negative margin or absolute positioning, so less than 24 by 24 pixels of the target remain free.
How to fix it
Enlarge the control, not the icon. Padding increases the clickable area without changing the design:
<button type="button" class="icon-button" aria-label="Close">
<svg aria-hidden="true" width="16" height="16">…</svg>
</button>
.icon-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 24px;
min-height: 24px;
padding: 4px;
}
Where targets have to stay small, spacing is enough. Technique C42 places each target in a container of at least 24 by 24 pixels, so that the circles never touch. With flexbox it sits centred there in both directions:
.pagination ol {
display: flex;
flex-wrap: wrap;
list-style: none;
}
.pagination li {
display: flex;
align-items: center;
justify-content: center;
min-width: 24px;
min-height: 24px;
margin: 3px;
}
Stacked links get vertical padding:
.footer a {
display: inline-block;
min-height: 24px;
padding-block: 4px;
}
The other exceptions of the criterion are explained on the page about WCAG 2.5.8.
Sources
- Deque University: target-size (axe-core 4.13), retrieved on November 27, 2026
- W3C Understanding Success Criterion 2.5.8: Target Size (Minimum), retrieved on November 27, 2026
- W3C Techniques, C42: Using min-height and min-width on target container to ensure sufficient target spacing, retrieved on November 27, 2026