Touch Target Checker

Touch Target Checker

Verify your interactive elements meet accessibility guidelines

Target Size
Quick Sizes
good
Meets recommended size
Visual Comparison
44×44
Your Target
24
WCAG AA
44
WCAG AAA
48
Material
Guideline Compliance
WCAG 2.2 AAA(44px min)

Target Size (Enhanced) - Recommended for best accessibility

+0px
Material Design(48dp min)

Minimum touch target for Android apps

-4px
Apple HIG(44pt min)

Minimum tappable area for iOS apps

+0px
WCAG 2.2 AA(24px min)

Target Size (Minimum) - Legal baseline requirement

+20px
Common UI Element Sizes
Icon Button (sm)
32px
Add padding to reach 44px
Icon Button (md)
40px
Almost there - add 4px pa...
Icon Button (lg)
48px
Meets all guidelines
Text Button (sm)
32px
Increase height or add pa...
Text Button (md)
40px
Almost there - add paddin...
Text Button (lg)
44px
Meets WCAG AAA
Checkbox
20px
Use invisible extended hi...
Radio Button
20px
Use invisible extended hi...
Toggle Switch
24px
Meets AA, extend for AAA
Link (inline)
24px
Inline links are exempt i...
Accessibility Tips

Visual vs. Touch Area

The visual element can be smaller than 44px if the touch target extends beyond it using padding or pseudo-elements.

Spacing Matters

Maintain at least 8px spacing between adjacent touch targets to prevent accidental taps on the wrong element.

Exceptions

Inline text links within sentences are exempt from size requirements as long as they have adequate line spacing.

CSS Helper Classes
1/* Ensure minimum touch target size */
2.touch-target {
3 min-width: 44px;
4 min-height: 44px;
5}
6
7/* Extend touch area without changing visual size */
8.extended-touch-area {
9 position: relative;
10}
11
12.extended-touch-area::before {
13 content: "";
14 position: absolute;
15 top: 50%;
16 left: 50%;
17 transform: translate(-50%, -50%);
18 min-width: 44px;
19 min-height: 44px;
20 width: 100%;
21 height: 100%;
22}
23
24/* For small checkboxes and radio buttons */
25.accessible-checkbox {
26 position: relative;
27 width: 20px;
28 height: 20px;
29}
30
31.accessible-checkbox::after {
32 content: "";
33 position: absolute;
34 top: 50%;
35 left: 50%;
36 transform: translate(-50%, -50%);
37 width: 44px;
38 height: 44px;
39 /* Invisible but clickable */
40}
41
42/* Tailwind utility for minimum touch target */
43.min-touch {
44 @apply min-w-[44px] min-h-[44px];
45}
46
47/* Icon button with proper sizing */
48.icon-button {
49 @apply inline-flex items-center justify-center;
50 @apply w-11 h-11; /* 44px */
51 @apply rounded-lg;
52 @apply transition-colors;
53}

Frequently Asked Questions

What is the minimum touch target size?

WCAG 2.2 requires a minimum of 24×24 CSS pixels for Level AA, with 44×44 CSS pixels recommended. Apple HIG recommends 44×44 points, and Material Design recommends 48×48 dp. For best accessibility, aim for at least 44×44 pixels.

Why are touch target sizes important?

Adequate touch target sizes help users with motor impairments, users with large fingers, and everyone using mobile devices. Small targets lead to missed taps, accidental taps on adjacent elements, and frustrating user experiences.

Can I have smaller visual elements with larger touch targets?

Yes! The visual appearance can be smaller than the touch target. Use padding, transparent borders, or the CSS 'touch-action' and pseudo-element techniques to extend the clickable area beyond the visible element.

What about spacing between touch targets?

WCAG 2.2 requires at least 24 CSS pixels between the edges of adjacent targets unless they're inline text links. Adequate spacing prevents accidental activation of the wrong control.