squirrelscan
GitHub

Tap Targets

Checks for properly sized touch targets

Checks for properly sized touch targets

Rule ID mobile/tap-targets
Category Mobile
Scope Per-page
Severity warning
Weight 5/10

Solution

Touch targets (buttons, links) should be at least 44x44 CSS pixels with 8px spacing between them. This ensures users can tap accurately on mobile. Google’s mobile-friendly test checks this. Use padding to increase tap area without changing visual size. Pay special attention to navigation links and form inputs.

Enable / Disable

Disable this rule

[rules]
disable = ["mobile/tap-targets"]

Disable all Mobile rules

[rules]
disable = ["mobile/*"]

Enable only this rule

[rules]
enable = ["mobile/tap-targets"]
disable = ["*"]

Type to search…

↑↓ navigate↵ openesc close