Touch Target Size Checker
Enter content dimensions, clickable padding and edge gaps in CSS pixels. Compare the target with the WCAG 2.2 minimum and enhanced size checks, or model the spacing exception with nearby targets.
How to Check the Spacing of Small Buttons
Enter measurements in CSS pixels. Add only padding that responds to the same pointer action as the content.
Spacing exception blocked
Target with padding 16 × 16 px
Below the 44 × 44 px enhanced size check
| Neighbor | Center to neighbor | Center to center | Spacing circle check |
|---|---|---|---|
| Right | 12 px | 20 px | Undersized circles overlap |
Touch Target Size Checker: how to use it
- Choose an example or enter the content width and height. Add clickable padding separately for each side.
- Add nearby rectangular targets and use the margins as edge gaps. Enter offsets for targets that sit off center. Confirm the model includes every nearby target.
- Review the 24 px result and 44 px size check. Use the diagram and neighbor measurements to inspect collisions, then download the JSON report if needed.
Limits and notes
A local model of axis-aligned rectangular pointer targets, with up to one neighbor on each side. Content and neighbor dimensions range from 0.01 to 512 CSS pixels. Overlap is excluded for separate actions. Check the actual effective hit area separately when clipping, rounded corners, stacking, inline text, or another WCAG exception affects the result.
How your privacy works →Touch Target Size Checker: common questions
What counts toward the 24 × 24 CSS pixel check?
Content and padding count when the same action is available throughout the rectangular hit area. Margins describe gaps between controls. If two modeled targets overlap, their shared area is excluded when checking whether a 24 px square fits.
Can a 16 × 16 icon button meet the requirement?
Yes, if a 24 px circle centered on its hit area has enough clearance from every nearby target and every undersized neighbor's circle. For two centered 16 px square targets in a row, an 8 px edge gap gives the circles room.
How does the 44 × 44 px check differ?
The 44 px check uses the enhanced WCAG target size threshold. It checks whether that square fits in the model. The 24 px spacing exception does not extend to this higher threshold.
Can I enter a negative margin?
Yes. Negative edge gaps can move a neighbor over the target. The preview and report show these overlaps, and the size result excludes the shared area.