All touch targets must be 24px large, or leave sufficient space

How to fix the target-size accessibility rule. Zoom and touch targets.

What this rule checks

Ensure touch targets have sufficient size and space

Who is affected

This clickable element is smaller than 24 by 24 pixels and too close to others. People with tremors or limited dexterity, and anyone on a phone, will miss it or hit the wrong thing.

How to fix it

Make the clickable area at least 24×24px (padding counts), or leave enough space around it.

Example

Before

a.icon { width: 16px; height: 16px; }

After

a.icon { min-width: 24px; min-height: 24px; padding: 4px; }

WCAG success criteria

When this rule fails, the page fails:

Find it on your own page

Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools.

More detail