Sensory and visual cues
Make touch targets at least 24 by 24 pixels
Rule ID: PF-TARGET-SIZE
- WCAG AA
- 2.5.8 Target Size (Minimum)
Why it matters
Small, tightly packed controls are hard to hit for people with tremors or limited dexterity and for anyone on a touchscreen, and a miss can activate the neighboring control. WCAG 2.5.8 Target Size (Minimum) (Level AA, added in WCAG 2.2) asks for 24 by 24 CSS pixels, or enough spacing around a smaller target. Pallyfi's rule engine ships this rule turned off by default.
Who it affects
- People with motor impairments
- Touch and voice control users
How to fix it
Give each button, link and other focusable control at least 24 by 24 CSS pixels, for example with padding or min-width and min-height, or space smaller targets so that a 24 pixel circle centered on each one doesn't overlap another target. Links inside a sentence are not checked.
<style>
.icon-button { min-width: 24px; min-height: 24px; padding: 4px; }
</style>
<button type="button" class="icon-button" aria-label="Edit address">
<svg aria-hidden="true" focusable="false" width="16" height="16" viewBox="0 0 16 16"><path d="M2 12l8-8 2 2-8 8H2z" /></svg>
</button>How to verify a fix
Scan the page again: the element should no longer be listed for this rule. Then check it the way people use it, for example with a keyboard or a screen reader, since a passing rule shows the markup is right, not that the experience works.
What automated testing can confirm
This is an automated rule that runs on every Pallyfi scan. A pass means the rule found no failing elements in what was rendered at scan time; it doesn’t cover content behind interactions the scan didn’t reach, and some criteria still need a person to check with a keyboard or screen reader. When the rule can’t decide on its own, the element is listed under Needs review instead. Manual audits record human evidence alongside the automated result.
Check your site for this
Quick Scan checks a public page against every rule Pallyfi runs and shows each failing element.