Links are not crawlable

In plain wordsSearch engines can follow the links.

Search engines move from page to page by following links. A "link" that only runs a script has no address to follow, so the page behind it may never be found.

  • Search
  • 2 of 148 points
  • Usually needs a developer

What it means

Search engines discover pages by following links. A link they can follow is an <a> tag with a real address in its href. Many sites have things that look and act like links for a visitor but have no address: they run a script when clicked.

A search engine sees nothing to follow there. If that is the only way to reach a page, the page may never be found.

What causes it

  • Links with href="javascript:void(0)", or with no href at all, that rely on a click handler.
  • Menus and buttons built from <span> or <div> elements.
  • A script that builds the address only when the visitor clicks.

How to fix it

  1. Give every link a real address in its href attribute.
  2. For something that acts on the page, such as opening a menu, use a button and not a link.
A real address in the href works for people, for search engines and without JavaScript.
Before
<a href="javascript:void(0)" onclick="openPage('prices')">Prices</a>
After
<a href="/prices">Prices</a>

Check it yourself

Right-click a link and choose "Copy link address". If there is nothing to copy, or it ends in "#", search engines cannot follow it.

Or run a free audit: it checks this and 53 other things on your page in about a minute, and shows the proof for each one.

How we test it

What we look at
Google's check of every link on the loaded page.
It passes when
Every link has a real address. A link that only runs a script fails.
What it is worth
2 of 148 points in rule book 0.5, in Search. A rule that cannot be checked on a page counts neither for nor against it.

Questions

What about buttons that open a menu or a pop-up?

Those are not links. Make them <button> elements. They are then left out of this check, and they work better with a keyboard.

Is a link to "#section" a problem?

No. A link to a named part of the same page is fine. Google's check does not flag a bare "#" either. It flags links with no address and links that use "javascript:void(0)". A bare "#" still leads search engines nowhere, so give real links a real address.

Sources

Where to read more, and where to check what this page says. Opened and read on 20 and 24 November 2026.

Also useful: what a good website score is, how we compare with PageSpeed Insights and the full rule book.

Does your website have this problem?

A free audit checks this and 53 other things, and shows the proof. About a minute, no email needed.