Check if touch targets meet accessibility guidelines (WCAG, iOS, Android)
Minimum touch target size for AAA compliance
Apple Human Interface Guidelines
Google Material Design Guidelines
Microsoft Accessibility Guidelines
To meet all accessibility guidelines, add padding:
.touch-target {
width: 32px;
height: 32px;
padding: 8px 8px;
/* Ensure minimum touch area */
min-width: 44px;
min-height: 44px;
/* Center content */
display: inline-flex;
align-items: center;
justify-content: center;
/* Visual feedback */
cursor: pointer;
user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}
.touch-target:active {
transform: scale(0.95);
}Prevents accidental taps on adjacent elements
Recommended for better usability
Ideal for primary actions
Help others discover this tool!