Touch Target Checker
Verify your interactive elements meet accessibility guidelines
Target Size (Enhanced) - Recommended for best accessibility
Minimum touch target for Android apps
Minimum tappable area for iOS apps
Target Size (Minimum) - Legal baseline requirement
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.
1/* Ensure minimum touch target size */2.touch-target {3 min-width: 44px;4 min-height: 44px;5}67/* Extend touch area without changing visual size */8.extended-touch-area {9 position: relative;10}1112.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}2324/* For small checkboxes and radio buttons */25.accessible-checkbox {26 position: relative;27 width: 20px;28 height: 20px;29}3031.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}4142/* Tailwind utility for minimum touch target */43.min-touch {44 @apply min-w-[44px] min-h-[44px];45}4647/* 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.