Dark green Relative Marketing Group cover graphic headlined "What Googlebot Can Actually Follow" with a flow diagram: HTML response, first 2MB read, a href links, crawl queue.

Most crawl problems we find in site audits are not robots.txt mistakes or penalties. They are links that look like links to a person and are not links to Googlebot. A mega menu built from buttons, a “View all” control wired to a click handler, a footer that sits past the point where Google stops reading the file. The page works in a browser, the client sees nothing wrong, and a section of the site quietly never gets crawled from its own navigation.

This post covers what Google’s own documentation says a crawlable link is, the patterns that fail that test, the file-size cutoff that most page-builder sites never measure, and a check you can run on your own pages today.

What Google’s documentation says a crawlable link is

Google’s link best practices documentation is unusually direct on this point: Google can generally only crawl a link if it is an <a> HTML element with an href attribute, and the URL in that attribute has to resolve to a real web address. Most links in other formats are not parsed and extracted. Google “may still attempt” to parse some of the non-recommended patterns, which is a long way from saying it will.

The same page confirms something that reassures most developers: links inserted into the page by JavaScript are crawlable, as long as the inserted markup is a normal <a href>. The problem is not JavaScript. The problem is navigation that only exists as behavior.

Google’s JavaScript SEO basics guide explains why. Googlebot parses the href attributes in the HTML response and queues those URLs, then renders the page in headless Chromium and parses the rendered HTML for links again. At no point does it click on things to see where they go. A control that only navigates when a click event fires gives it nothing to queue.

Four patterns that look like links but are not

These are the shapes we see most often in themes, page builders and custom front ends. Each one works for a visitor with a mouse and fails Google’s test.

  • Click-handler navigation: a <div>, <span> or <button> that changes the page in an onclick handler, so there is no href for Googlebot to extract.
  • Anchors without an href: an <a> element that carries the destination in a framework attribute such as routerLink or a data- attribute, which Google lists as not recommended.
  • javascript: URLs: an href such as javascript:goTo('products'), which does not resolve to an address a crawler can request.
  • Fragment routing: single-page apps that load different content at #/products and #/services, which Google says it cannot reliably resolve; its guidance is to use the History API with real paths instead.

A fifth problem is not about discovery but about meaning. An icon-only link with no text and an image with empty alt gives Google no anchor text. Google’s documentation says it uses an image’s alt attribute as the anchor text for image links, and the title attribute as a fallback for an empty anchor. Social icons and logo links are the usual offenders.

The 2MB cutoff, and why it changed what we check

Googlebot reads only the first 2MB of an HTML file when crawling for Google Search, and the limit is measured on uncompressed data. Anything after the cutoff, including links in a footer or a late-loading section of the navigation, is not sent for indexing. Google’s Googlebot documentation, last updated 3 February 2026, states that limit, and adds that each CSS and JavaScript file referenced by the page is fetched separately under the same 2MB limit, while PDFs are read up to 64MB.

That figure matters because it is not the one most practitioners remember. For several years the same documentation page gave 15MB, and that is still the number repeated in many audit checklists. When we checked the live page on 27 October 2026 it read 2MB. A threshold that used to be unreachable for an ordinary HTML document is now one a heavy page can approach.

What pushes HTML toward that size is rarely the copy. It is usually one of these:

  • Inlined images: base64-encoded images and background graphics written directly into the markup instead of being referenced as files.
  • Duplicated navigation: page builders that output a full desktop menu and a separate full mobile menu, sometimes a third for a sticky header, on every page.
  • Serialized app state: frameworks that embed a large JSON payload in the page so the browser can rebuild the interface, often containing data the visible page never shows.
  • Inline SVG icon sets: the same icon paths repeated in full every time an icon appears.

The inconvenient part is that the size you see in your browser’s network panel is usually the compressed transfer size. The 2MB limit applies to the uncompressed file, which is larger, so a page that looks light on the wire can still be heavy where Google measures it. Order matters too. The cutoff is applied to the start of the file, so the content and links that come last in the source are the ones at risk.

How to check your own pages today

You do not need a crawler subscription for a first pass. Open the page in Chrome, open DevTools, and paste this into the Console:

const html = await (await fetch(location.href)).text();
console.log('Uncompressed HTML (KB):', Math.round(new Blob([html]).size / 1024));
console.log('Anchors without href:', document.querySelectorAll('a:not([href])').length);
console.log('javascript: hrefs:', document.querySelectorAll('a[href^="javascript:"]').length);
console.log('Fragment-only hrefs:', document.querySelectorAll('a[href^="#/"]').length);
console.log('Non-link elements with onclick:', document.querySelectorAll('[onclick]:not(a)').length);

The first line reports the uncompressed size of the HTML the server sends, which is the number to compare against 2MB (2,048KB). The remaining lines count the link patterns above. A non-zero count is not automatically a problem, since a cookie banner’s close button should not be a link, but every hit inside navigation, product grids, pagination or “related” modules deserves a look.

Then confirm what Google itself saw. In Search Console, run the URL Inspection tool on the page, open the tested page, and search the HTML for a link you expect to be there. Google’s link documentation recommends exactly this when anchor text is inserted with JavaScript. If the link is missing from the rendered HTML, Google is not following it from that page, no matter how it looks on screen.

Finally, check the pages that depend on those links. Google’s guidance is that every page you care about should have a link from at least one other page on your site. If a category or service page is reachable only through a click-handler menu, it is relying on the XML sitemap alone for discovery and receiving no internal anchor text at all.

What this does not mean

It does not mean JavaScript navigation is bad for search. A React or Vue front end that renders real <a href="/services/"> elements and intercepts the click for smooth routing is exactly what Google’s documentation recommends. The fix is almost always in the markup the component outputs, not in the framework choice.

It also does not mean every page needs to be stripped down to stay under 2MB. Most text-led pages are nowhere near it. The pages worth measuring are the ones built from many stacked modules, long product or location listings, and templates that embed data for interactive features. Measure those, and move whatever is inlined into referenced files.

And it is not a separate AI search tactic. Google’s AI features draw on the same crawling and indexing as the rest of Search, so a page Google never discovers from your navigation has no path into an AI Overview either. Making links crawlable is ordinary technical SEO, which is the point: the foundation our answer engine optimization work starts from is the same one classic search depends on.

Where this fits in a site build

Link markup is cheapest to get right before launch. When we scope a web design project, navigation, pagination and filters are specified as real anchors from the start, and template weight is checked against the uncompressed limit rather than the transfer size. On existing sites, the console check above is one of the first things we run in an SEO engagement, because a site cannot rank pages that its own navigation never hands to Google.

×
✦ Meet MIA – Your AI Marketing Assistant

Get Instant Marketing
Answers + Book Strategy Call

Talk to MIA and get real answers, custom insights, and expert help to grow your business.
💬
Answer your marketing questions

Get instant expert answers to help you grow.

📈
Analyze your website or ads

MIA can audit and analyze performance in seconds.

💡
Get growth strategies

Receive tailored recommendations.

📅
Schedule a call with our team

Book a strategy consult instantly.

Start Voice Chat with MIA Click to talk
📅 Book a Strategy Call Schedule a consult
⚡ Get Quick Answers Fast responses
🔍 Request Free Audit Analyze my site
MIA Bot

MIA

● Online
Listening...
🎙️

Click the mic to start speaking. We only use your voice to understand your questions.

Skip to content