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
- Landing pageVisitor reads the offer
- Form opensFields are filled in
- Tick consent box16x16 px box, taps miss
- SubmitForm blocked or abandoned
- Lead in CRMNever created
A tiny consent checkbox is missed, so the form will not submit.
Example: illustrative numbers showing how a larger tap area can lift completion. Not measured data.
How to check if your site has it
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.
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.
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.
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.
Test with a real thumb
Tap through the form and checkout on a real phone. Note every control you miss or hit by accident.
| Element | Typical problem | Fix |
|---|---|---|
| Checkbox or radio | Native box is about 13-16 px | Make the label clickable and add padding |
| Close (X) icon | Icon is 12-16 px | Set 24 px or larger hit area with padding |
| Quantity +/- buttons | Small and close together | Use min size and gap |
| Footer or menu links | Stacked with no spacing | Add vertical padding or line spacing |
| Social icons | Small icons side by side | Pad each icon to 24 px or more |
How to fix it
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;
}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.
Check plugin forms
Form plugins often have their own classes. Inspect the checkbox and button to find the right selector.
Edit theme CSS
Go to Online Store > Themes > Customize > Theme settings > Custom CSS, or edit assets/base.css in the code editor. Target quantity buttons, cart close icons and footer links.
Check apps
Review pop-ups and reviews apps. Their small close buttons may need app-level CSS or settings.
Fix third-party widgets only if you have no other option
If a banner or widget is injected by a tag, check its own settings for size options first. Injecting CSS through a Custom HTML tag works but is harder to maintain.
Resize in the Designer
Select the element, open the Style panel, and set Size (min width and min height) and Spacing (padding). Use a class so every instance updates.
Adjust in the funnel or form builder
Select the element and increase its size and padding in the settings. For checkboxes, add custom CSS in the page's Custom CSS section (Settings > Custom Code).
Enlarge the element
Select the button or icon in the Editor, then drag its handles or use the Layout panel to set size. Increase spacing between neighbouring elements.
Use Custom CSS
Go to Website > Website Tools > Custom CSS and paste the rules, with selectors found by inspecting the element. Also raise button size under Site Styles.
Update the shared stylesheet
Add the min size and padding to shared component classes so every use is fixed. Avoid one-off inline styles.
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
- 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
Related questions
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.
Related issues
- PRF-316Focused element hidden behind sticky header (WCAG 2.4.11)Fix guide
- PRF-313Form cannot be completed with keyboard onlyFix guide
- PRF-322Buttons made from divs without role/keyboard supportFix guide
- PRF-324Icon-only buttons without accessible namesFix guide
- PRF-311Focus outline removed (outline:none)Fix guide
- PRF-310Required fields indicated by colour onlyFix guide