Links crawlers can't follow

HighHigh priority, in JavaScript

Short answer

Links crawlers can't follow means: links without href, javascript: links or clickable elements that navigate with scripts are invisible to crawlers. To fix it: use real <a href="/page"> links, even when JavaScript handles the click.

By the SmooxSEO team. Updated on 16 November 2026.

What it means and why it matters

Links without href, javascript: links or clickable elements that navigate with scripts are invisible to crawlers.

How to fix it

Use real <a href="/page"> links, even when JavaScript handles the click.

Common causes

  • Links built as <span> or <div> with a JavaScript click handler instead of <a href>.
  • <a> tags with href="javascript:void(0)" or href="#" that navigate with JavaScript.
  • Menus or cards that use router code without rendering a real link.

How to spot it

Right-click the link: no "Open link in new tab" usually means it isn't a real link. In the page code, a crawlable link is <a href="/real-address">. SmooxSEO lists clickable elements that crawlers can't follow.

Example

Problem
<div class="card" onclick="go('/product/12')">Blue shirt</div>
Fixed
<a class="card" href="/product/12">Blue shirt</a>

Mistakes to avoid

  • Adding the address in a data- attribute: crawlers only follow href.
  • Using a button for navigation: buttons are for actions, links are for moving to another page.

How to fix it on your platform

React and Next.js
Use the router's Link component (it renders a real <a href>) instead of onClick with router.push for navigation.
Vue and Nuxt
Use <RouterLink> or <NuxtLink>, which render <a href>, instead of @click handlers on divs.

Questions people ask

Does Google click buttons?

No. Google follows links written as <a href="...">. It doesn't click buttons or run click handlers to find new pages.

How serious is it?

A page can't be found, indexed or trusted, or search engines can't read part of the site. Fix it soon: it costs traffic.

About javascript checks

Content, links and tags that only appear after JavaScript runs. Search engines and AI crawlers may miss or delay what scripts add.

Find this problem on your site

SmooxSEO checks every page of your site for this problem and 311 others, lists the pages concerned, and tells you what to fix first.

Related javascript checks

All javascript checksAll 312 checks