Target Size (WCAG 2.5.8): How to Pass on Mobile and Desktop

WCAG 2.5.8 Target Size (Minimum) is a Level AA criterion added in WCAG 2.2. It requires clickable and tappable targets to be at least 24 by 24 CSS pixels, unless an exception applies. The most useful exception is spacing: a smaller target passes if a 24 pixel circle centered on it does not touch another target. To pass, measure your small controls, then add padding, minimum sizes or space around them.

What does WCAG 2.5.8 require?

The criterion says that the size of the target for pointer inputs is at least 24 by 24 CSS pixels, except where one of these applies:

It helps people with tremors, limited dexterity, large fingers or small screens, and anyone using a trackpad in a hurry. See what is new in WCAG 2.2 for the other new criteria.

How is 24 by 24 different from 44 by 44?

24 by 24 CSS pixels is the minimum at Level AA. WCAG 2.5.5 Target Size (Enhanced), a Level AAA criterion, asks for 44 by 44 CSS pixels. Platform guidelines from Apple and Google also recommend larger targets for touch, commonly around 44 points and 48 density-independent pixels. Treat 24 pixels as a floor, and use larger targets on touch screens where you can.

How do you measure target size?

  1. Open DevTools and inspect the control. The box model view shows its width and height in CSS pixels.
  2. Count padding. If padding is part of the clickable area, it counts toward the target. The link or button's hit area is what matters, not the icon inside it.
  3. Check the real pointer area. Hover the element, or use DevTools to highlight it, so you see what responds to clicks.
  4. For smaller targets, check the spacing exception: is there at least a 24 pixel circle of clear space around its center?
  5. Test at several viewport sizes, because layouts can shrink targets on mobile.

Which controls usually fail?

How do you fix a small icon button?

Before (16 by 16 pixels, fails unless spacing applies):

.icon-btn {
  width: 16px;
  height: 16px;
}

After (24 by 24 pixels minimum, passes):

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

For touch interfaces, go bigger:

.icon-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

How do you enlarge the clickable area without changing the look?

Keep the icon small and expand the hit area with padding or a pseudo-element.

.close {
  position: relative;
  width: 16px;
  height: 16px;
}
.close::after {
  content: "";
  position: absolute;
  inset: -4px;   /* extends the hit area by 4px on each side */
}

This makes a 16 pixel icon into a 24 pixel target. Make sure the expanded areas of neighbouring targets do not overlap in a confusing way.

How does the spacing exception work in practice?

A 20 pixel button can pass if there is enough room around it. Because the test uses a 24 pixel circle centered on each undersized target, two small buttons need their centers far enough apart that the circles do not overlap another target. As a rough guide, a 16 pixel icon needs about 8 pixels of clear space on each side. Because it is easy to get wrong, many teams simply set a minimum size instead.

.social-link {
  width: 24px;
  height: 24px;
  margin: 0 8px;
}

No. The inline exception covers links inside a sentence or paragraph. A link in a list of links, such as a footer menu with one link per line, is not inline in a sentence, so give each link enough height with padding:

.footer-nav a {
  display: inline-block;
  padding: 4px 0;   /* with the line height, the link is at least 24px tall */
}

Do native checkboxes and radios pass?

An unmodified browser control falls under the user agent control exception, so a default checkbox is exempt. If you restyle or replace it, the exception no longer applies, and you must meet the size or spacing rules. Making the label clickable also gives users a larger target:

<label>
  <input type="checkbox" name="news"> Send me updates
</label>

Check that the label is part of the clickable area, and that the label's size meets the criterion.

What about mobile?

How do you test and keep passing?

  1. Scan the page with an automated tool for obvious issues. See the best free accessibility testing tools.
  2. Measure the controls that look small: icons, close buttons, pagination, chips.
  3. Test with a finger on a real phone.
  4. Add a minimum target size to your design system for buttons and links.
  5. Retest after each redesign.

Kerbwise audits the page you have open against WCAG 2.2 Level A and AA and ranks accessibility issues by severity, with the WCAG number, who is affected and how to fix each one. Target size depends on layout and spacing, so check small controls by hand as well. See the WCAG 2.2 AA checklist and how to run a website accessibility audit.

Try Kerbwise on a page you own

Try Kerbwise ($29 one-time) to run this audit locally and export a client-ready PDF report. Get it on the Chrome Web Store or read more on the Kerbwise page.

Frequently asked questions

What is the minimum target size in WCAG 2.2?

At Level AA, 24 by 24 CSS pixels (2.5.8). The AAA criterion 2.5.5 asks for 44 by 44 CSS pixels.

No. Inline links in a sentence are exempt. Links in lists and menus are not, so give them enough height with padding or spacing.

Can a smaller button pass if it has space around it?

Yes. Under the spacing exception, a smaller target passes if a 24 pixel circle centered on it does not intersect another target or its circle.

Does padding count toward target size?

Yes, if the padding is part of the clickable area. The hit area of the control is what is measured, not just the icon.

Do default browser checkboxes have to be 24 pixels?

Unmodified browser controls are covered by the user agent control exception. If you restyle them, they must meet the size or spacing rules.

Get Kerbwise for Chrome | Kerbwise | Yuktix Labs home