Skip to content
Nazmul Nikhil
Menu

Tap Targets Too Small (Ahrefs): Make Buttons and Links Easy to Tap

Ahrefs flags links and buttons that are too small or too close together to tap on a phone. Here's the size to aim for and the CSS that fixes it.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 2 min read
Tap Targets Too Small (Ahrefs): Make Buttons and Links Easy to Tap
Photo: Jonas Leupe on Unsplash

In short

Ahrefs flags "Tap targets too small" when links or buttons on a page are too small or too close together to tap accurately on a phone. The check comes from Lighthouse, which in 2024 replaced its SEO tap-targets audit with an accessibility "target size" audit. So it's a usability and accessibility issue rather than a ranking factor. Aim for targets of about 48 by 48 pixels, or give smaller ones enough spacing.

Fingers are less precise than a mouse. When links sit too close together, people tap the wrong one, get frustrated, and leave.

What size to aim for

Guideline Recommendation
web.dev / Lighthouse (former SEO audit) About 48 x 48 px, with about 8px between targets
WCAG 2.2, Target Size (Minimum), level AA At least 24 x 24 CSS px, or enough spacing

The target can be bigger than what it looks like: padding counts, so a small icon can have a large tappable area.

Where it usually happens

  • Footer links in a dense list or a single line

  • Inline text links placed close together

  • Small social icons

  • Pagination numbers and breadcrumb links

  • Close buttons on popups

How to fix it

/* Make links in lists and navigation easy to tap */
.footer a, .nav a, .pagination a {
display: inline-block;
min-height: 48px;
min-width: 48px;
padding: 12px 8px;
}
.social-icons a { padding: 12px; }

If the page has no viewport tag, every target appears tiny because the page is scaled down. Fix that first (see "Viewport not set").

WordPress: adjust spacing in the block editor (padding on navigation and buttons) or add the CSS above in your theme's custom CSS.

Shopify: footer menus and social icons are the usual culprits. Add spacing in the theme CSS.

Webflow: add padding to link blocks at mobile breakpoints, rather than to the text.

Wix: in the mobile editor, enlarge menu items and buttons and add space between them.

Custom builds: set a minimum touch size in your shared button and link components, so every page inherits it.

Common mistakes

  • Making the text bigger but not the tappable area. Padding is what matters.

  • Fixing desktop CSS only. Use media queries for mobile, where spacing matters most.

This guide isn't affiliated with or endorsed by Ahrefs.

Sources and references

TAGSAhrefs Site AuditTap targets too smallTap targets are not sized appropriatelyTouch target size
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Mobile SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com