Pointer Target Size and Spacing
Quantify undersized rectangular pointer targets and insufficient spacing between neighboring targets.
Calculates rectangular geometry for WCAG 2.2 Success Criterion 2.5.8 (AA). A declared exception does not establish compliance and is counted separately from numerically assessed targets.
Rectangle overlap and interference involving 24 px circles are separate measurements. This calculator cannot determine site-wide WCAG conformance.
Results
—targets
- Targets entered
- —targets
- At least 24 × 24 CSS px
- —targets
- Spacing exception (no circle interference)
- —targets
- Self-declared exception (verify separately)
- —targets
- Circle-based spacing interference
- —pairs
- Actual rectangle overlap
- —pairs
Results update automatically when the required values are entered.
Method, applicability and sources
Calculation method
A target meets the size criterion when both width and height are ≥24 CSS px. For a smaller rectangle, place a circle of radius 12 CSS px at its center. It meets the geometric spacing exception if the shortest distance from its center to other rectangles is ≥12 px and the distance to the centers of other small rectangles is ≥24 px. Touching without interior overlap is not counted as interference. Size shortfall = max(0, 24 − width/height); overlap area = intersection width × intersection height. Declaring an exception for another target does not exclude it from neighboring-target checks. Circle interference uses full numerical precision; only displayed values are rounded to 8-digit precision.
Worked example (hypothetical values)
Worked example: two 20 × 20 px targets at x = 0 and x = 24, both at y = 0, have centers 24 px apart. Their circles do not overlap, so both meet the geometric spacing exception. Moving the second to x = 20 leaves centers 20 px apart, with 4 px of circle interference; both then require review.
Applicability and limitations
Axis-aligned rectangular controls in the same displayed state, measured in CSS pixels. Anonymous data only. Does not evaluate actual hit testing for rounded, clipped, rotated, complex, or overlapping controls; the validity of nongeometric exceptions; hidden targets; or whole-page WCAG conformance. It is not a substitute for WCAG 2.1 SC 2.5.5 (AAA) or the separate 44 px criterion.
Methods used
- WCAG 2.2 Target Size (Minimum) (2.5.8 AA / 2024-12-12): scope Axis-aligned rectangular pointer targets only; region Global
Method and sources
Method: WCAG 2.2 W3C Recommendation 2024-12-12, SC 2.5.8. Data recorded: 2026-11-14.