Skip to main content
Checks for properly sized touch targets
Rule IDmobile/tap-targets
CategoryMobile
ScopePer-page
Severitywarning
Weight5/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

squirrel.toml
[rules]
disable = ["mobile/tap-targets"]

Disable all Mobile rules

squirrel.toml
[rules]
disable = ["mobile/*"]

Enable only this rule

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