Target Size Accessibility Checker
WCAG 2.5.8 (new in WCAG 2.2) requires interactive targets of at least 24x24 CSS pixels. Small targets cause errors for users with motor disabilities and anyone on mobile devices.
No signup required. Results in under 60 seconds.
What WCAG 2.5.8 Requires
WCAG 2.5.8 (Target Size Minimum, Level AA) is a new criterion introduced in WCAG 2.2 (October 2023). It requires that interactive targets (buttons, links, form controls) have a size of at least 24x24 CSS pixels, or have sufficient spacing from adjacent targets to create an equivalent target area. The earlier WCAG 2.5.5 (Target Size Enhanced, Level AAA) from WCAG 2.1 requires 44x44 CSS pixels. Exceptions to 2.5.8 include: inline text links within sentences, targets where the size is essential (a pixel-level color picker), targets whose size is determined by the user agent (default checkboxes), and targets with sufficient spacing. This criterion addresses a real-world problem: mobile users and users with motor impairments struggle with small touch targets, leading to errors, frustration, and abandonment.
Why Target Size Matters
Undersized targets create barriers for large user populations:
- Motor disabilities: Users with tremors, limited dexterity, or conditions like Parkinson's disease need larger targets to avoid accidental taps. A 16x16px icon button is nearly impossible for many motor-impaired users
- Mobile users: Apple's Human Interface Guidelines recommend 44x44pt minimum touch targets. Google's Material Design specifies 48x48dp. Targets below 24px are problematic even for users without disabilities on touchscreens
- Elderly users: Age-related decline in fine motor control makes small targets increasingly difficult. With 16% of the global population aged 65+ by 2050, target size is a growing concern
- Situational impairments: Users wearing gloves, on a moving bus, or holding a child use reduced precision. Larger targets accommodate these real-world conditions
Studies show that increasing button size from 16px to 44px reduces touch errors by up to 70%.
Common Target Size Violations and Fixes
Frequent target size failures and their solutions:
- Icon-only buttons:
<button><svg width="16" height="16">...</svg></button>— the button is only 16x16px. Fix: add padding:button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; } - Close buttons: Modal close "X" buttons are often 12-16px. Fix: increase the click area with padding even if the visible icon remains small
- Pagination links: Small numbered links (1, 2, 3) cramped together. Fix: add padding and gap:
.pagination a { min-width: 44px; min-height: 44px; display: inline-flex; gap: 4px; } - Footer link lists: Dense lists of small links. Fix: increase line-height and add padding:
.footer a { padding: 8px 0; display: inline-block; } - Form checkboxes/radios: Default browser controls may be small. Fix: use
appearance: nonewith custom sizing, or use the spacing exception by ensuring adequate gap between controls
How CompliScan Detects Target Size Issues
CompliScan evaluates interactive elements against the 24x24px minimum using computed element dimensions from the live DOM. The scanner identifies buttons, links, inputs, and custom interactive elements (role="button", role="link") whose computed size falls below the threshold, accounting for padding, borders, and the spacing exception. Each finding reports the element's actual computed size, the required minimum, and an AI-generated CSS fix to increase the target area — often just adding min-width, min-height, and padding. CompliScan also checks for inline links (which are exempt) and distinguishes them from standalone interactive targets. For mobile-optimized sites, consider targeting the AAA criterion of 44x44px — this aligns with Apple and Google design guidelines. As WCAG 2.2 is adopted into legislation (the European Accessibility Act and future US regulations), target size will become a legal requirement. Run a free scan to identify all undersized targets on your site.
Frequently Asked Questions
What is the minimum target size in WCAG 2.2?
WCAG 2.5.8 (Level AA) requires a minimum of 24x24 CSS pixels for interactive targets. WCAG 2.5.5 (Level AAA) requires 44x44 CSS pixels. The 24px minimum is a new requirement in WCAG 2.2 (October 2023). The spacing exception allows smaller targets if they have sufficient space from adjacent targets — the under-size area must be covered by spacing. Most mobile design guidelines recommend 44-48px as best practice.
Are inline text links exempt from target size requirements?
Yes. WCAG 2.5.8 explicitly exempts inline links — links within a sentence or block of text. This exception recognizes that enlarging inline links would distort text layout. However, standalone links (navigation items, card links, call-to-action buttons that look like links) are not considered inline and must meet the 24x24px minimum. If your link is visually presented as a button or standalone clickable element, the inline exception does not apply.
How do I increase target size without changing visual design?
Add padding to increase the clickable area without changing the visible element size. For example, a 16px icon button can have 14px padding on each side, creating a 44px total target: button { padding: 14px; }. The visual appearance of the icon stays the same, but the clickable area is much larger. You can also use transparent borders or pseudo-elements to extend the target area beyond the visible element.
What is the spacing exception in WCAG 2.5.8?
If a target is smaller than 24x24px, it can still pass if the space around it compensates. Specifically, the target plus its surrounding spacing (measured as a circle from the target's center) must not overlap with any other target's spacing circle. In practical terms: small targets that are far apart from each other may pass, while small targets close together fail. This exception prevents the criterion from requiring changes to things like body text links that are naturally spaced apart.
Does target size apply to desktop websites or only mobile?
WCAG 2.5.8 applies to all interfaces regardless of device. While touch targets on mobile are the most obvious use case, desktop users with motor disabilities also benefit from larger click targets. Mouse users with tremors, users of head trackers, and users of eye-tracking devices all need reasonably sized targets. The 24px minimum is modest — even on desktop, targets this small are harder to click than necessary. Design for 44px when possible.
More Free Tools
Check Your Website Now
Enter your URL below and get a free accessibility report with AI-powered fix suggestions in under 60 seconds.
No signup required. Results in under 60 seconds.