Fix guides · Accessibility
How to fix small tap targets (“Touch targets do not have sufficient size or spacing”)
Links and buttons too small or too close together to tap reliably. How to give them room on Shopify, WordPress, Webflow, Wix, Squarespace and Next.js.
- Time to fix
- 15–45 minutes
- Skill needed
- Copy and paste
- Who notices
- Phone users, and anyone with tremors or limited dexterity
Why it matters
Small icons, tightly packed footer links and tiny carousel dots are hard to hit with a finger. Visitors tap the wrong thing, or give up.
WCAG 2.2 asks for targets at least 24 by 24 CSS pixels, or enough space around smaller ones. Shopify's theme guidance goes further and asks for 44 by 44 pixels on primary controls.
“Touch targets must have sufficient size and spacing in order to "be easily activated without accidentally activating an adjacent target."”
Before you start
- Your report lists the targets that are too small or too close. Common ones: social icons, slider dots, close buttons, links in a dense footer, and inline icons.
- You don't have to make the icon bigger. Add padding so the tappable area grows, or add space between targets.
- Links inside a sentence of text are exempt.
Fix it on your platform
Shopify
- Shopify's theme guidance asks for touch targets of at least 44 by 44 pixels on primary controls: menu links, form submit buttons, cart and menu buttons, close buttons and product options.
- Increase the padding or minimum size of those elements in your theme's CSS (Edit code → assets), or ask your theme developer.
.header__icon,
.slider-button {
min-width: 44px;
min-height: 44px;
}WordPress
- In the Site Editor's Styles (or your theme's customizer), increase padding on buttons and navigation links, and spacing on Social Icons.
- For theme elements without a setting, add CSS under Appearance → Editor → Styles → Additional CSS (or Customize → Additional CSS on classic themes).
Webflow
- Select the small link or button and add padding in the Style panel, or set a minimum width and height of at least 24px (44px is more comfortable).
Wix
- Make small buttons and icons larger in the editor, and spread out elements that sit close together, especially in the mobile editor.
Squarespace
- Increase button and social icon sizes in Site Styles, and add spacing between blocks.
- For elements without a size setting, add padding with custom CSS.
Next.js
- Give icon buttons and small links a minimum size or padding in your styles.
.icon-button {
min-width: 44px;
min-height: 44px;
display: inline-grid;
place-items: center;
}Any other site
- Give small targets padding or a minimum size of 24px (44px for primary controls), or more space between them.
.footer-links a {
display: inline-block;
padding: 12px 8px;
}Check that it's fixed
- On a phone, tap each flagged target with your thumb.
- Re-run your StudioLNC audit: the targets should no longer be listed.
Find every issue like this on your site
Free audit of performance, accessibility, SEO and security, with fixes for your platform.