Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Target size under 24x24 px (WCAG 2.5.8): how to find and fix it

PRF-335Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A target is anything a visitor can click or tap: a button, link, checkbox, radio button, icon or menu toggle. WCAG 2.5.8 (Target Size, Minimum) is a rule in WCAG 2.2, the accessibility guidelines. It says each target should be at least 24 by 24 CSS pixels. A CSS pixel is the unit your stylesheet uses, not a physical screen dot.

Why it costs you leads or sales

Where a tiny target breaks a funnel
  1. Landing pageVisitor reads the offer
  2. Form opensFields are filled in
  3. Tick consent box16x16 px box, taps miss
  4. SubmitForm blocked or abandoned
  5. Lead in CRMNever created

A tiny consent checkbox is missed, so the form will not submit.

Mobile form completion by checkbox sizeExample numbers
Mobile form completion by checkbox size (example)16 px checkbox: 58 %; 24 px checkbox: 66 %; 44 px tap area: 72 %0285558667216 px checkbox24 px checkbox44 px tap area%

Example: illustrative numbers showing how a larger tap area can lift completion. Not measured data.

How to check if your site has it

Find targets under 24x24 px
  1. Open your key pages on a phone-sized screen

    Use the landing page, form, cart and checkout. In Chrome, open DevTools (F12) and click the device toolbar icon.

  2. Run an automated scan

    Lighthouse flags tap targets that are too small in some versions. Axe DevTools has a target size rule (target-size), and WAVE can help too. Treat results as a starting list.

  3. Measure suspect elements

    Right-click the control, choose Inspect, then hover it in the Elements panel. The tooltip shows its rendered width and height. Check the clickable area, which is often the label or the button, not just the icon.

  4. Apply the spacing exception

    If a target is under 24 px, check that a 24 px circle centred on it does not touch the next target. If it does, it fails.

  5. Test with a real thumb

    Tap through the form and checkout on a real phone. Note every control you miss or hit by accident.

Common offenders and typical fixes
ElementTypical problemFix
Checkbox or radioNative box is about 13-16 pxMake the label clickable and add padding
Close (X) iconIcon is 12-16 pxSet 24 px or larger hit area with padding
Quantity +/- buttonsSmall and close togetherUse min size and gap
Footer or menu linksStacked with no spacingAdd vertical padding or line spacing
Social iconsSmall icons side by sidePad each icon to 24 px or more

How to fix it

Give small controls a 24 px minimum (aim higher for key buttons)css
button,
.icon-button,
.close,
.qty-button {
  min-width: 24px;
  min-height: 24px;
  padding: 8px;
}

/* Make checkbox and radio labels a larger hit area */
input[type="checkbox"],
input[type="radio"] {
  width: 24px;
  height: 24px;
}
label.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
}

/* Space out stacked links */
footer a {
  display: inline-block;
  padding: 6px 0;
}
Where to add the fix by platform
  1. Add CSS in the Customizer or block theme

    Go to Appearance > Customize > Additional CSS (classic themes), or Appearance > Editor > Styles > Additional CSS (block themes). Paste the rules, adjusting selectors to your theme.

  2. Check plugin forms

    Form plugins often have their own classes. Inspect the checkbox and button to find the right selector.

Consent checkbox before and after

Before

  • Checkbox is 16x16 px
  • Only the box is clickable
  • Frequent missed taps on mobile

After

  • Checkbox is 24x24 px
  • Whole label row (44 px tall) is clickable
  • Taps land first time

How to confirm it's fixed

After the change
  • Inspect each fixed control: width and height are 24 px or more
  • Where a control is smaller, the 24 px spacing circle does not touch another target
  • Re-run axe DevTools or another scanner and the target size results are clear
  • Tap through the form and checkout on a real phone
  • Check the layout at 320 px and 375 px widths for overlaps
  • Check pop-ups, cookie banners and chat widgets too

How to prevent it happening again

How FunnelGuard handles this

Questions people ask

What is the minimum target size in WCAG 2.2?

WCAG 2.5.8 (Level AA) sets the minimum at 24 by 24 CSS pixels. Smaller targets can still pass if they have enough spacing, sit inside a sentence, are controlled by the browser, or have an equivalent larger control.

Why are my buttons failing the target size check?

Most often the clickable area is smaller than 24 px, such as an icon-only close button or a native checkbox. Adjacent small controls with no gap also fail. Add min width, min height and padding, then re-scan.

How do I make a checkbox bigger for mobile?

Set the input to 24 px wide and tall, and make the whole label clickable with a minimum height of around 44 px. Use flex layout with a gap so the label text and box line up.

What is the difference between WCAG 2.5.8 and 2.5.5?

2.5.8 is Level AA and requires 24x24 CSS pixels with exceptions. 2.5.5 is Level AAA and asks for 44x44 CSS pixels. Many teams aim for 44 px on main buttons and use 24 px as the floor.

Do text links need to be 24x24 px?

Links inside a sentence or paragraph are exempt. Standalone links, such as footer or menu lists, are not exempt, so give them padding or spacing so they meet the minimum or the spacing exception.

How do I test tap target size on my website?

Use Chrome DevTools to inspect each control's rendered size, and run axe DevTools or Lighthouse for a list of candidates. Then tap through key forms and checkout on a real phone.

Can FunnelGuard detect small tap targets?

No, FunnelGuard does not check target size yet. It is a possible future check. It does run your real journeys on a schedule, so a control that blocks a step may show up as a failed journey.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.