Skip to content
Nazmul Nikhil
Menu

Links Are Not Crawlable (PageSpeed Insights)

Google can only follow links that are real <a> tags with an href. Here's what PageSpeed flags (javascript: links, missing href) and how to fix them.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Links Are Not Crawlable (PageSpeed Insights)
Photo: Sasun Bughdaryan on Unsplash

In short

Google follows links only when they're <a> elements with a real URL in href. PageSpeed flags anchors like <a href="javascript:void(0)">, <a> with no href, or links that navigate only through onclick. If the element is a real link, give it a real URL. If it's an action (open menu, play video), use a <button> instead.

In passed form: "Links are crawlable."

Not crawlable Crawlable
<a href="javascript:void(0)" onclick="go('/services')"> <a href="/services/">
<span onclick="location='/about'"> <a href="/about/">
<a> used as a menu toggle <button aria-expanded="false">

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

Sources and references

TAGSPageSpeed InsightsLinks are not crawlableCrawlable anchorsJavascript void link seo
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 Technical SEO

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

Keep reading

Related articles

All Page Speed & Core Web Vitals 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