What does Google say about SEO? /
Quick SEO Quiz

Test your SEO knowledge in 5 questions

Less than a minute. Find out how much you really know about Google search.

🕒 ~1 min 🎯 5 questions

Official statement

With mobile-first indexing, it's essential that links in the mobile version of the HTML code are clearly visible when the page loads, even if they are hidden from the user by default.
25:50
🎥 Source video

Extracted from a Google Search Central video

⏱ 51:56 💬 EN 📅 14/12/2017 ✂ 10 statements
Watch on YouTube (25:50) →
Other statements from this video 9
  1. 9:29 Comment Google évalue-t-il vraiment la pertinence de votre site en continu ?
  2. 10:39 Pourquoi la levée d'une pénalité algorithmique prend-elle plusieurs mois ?
  3. 22:07 Les meta descriptions impactent-elles vraiment le référencement de votre site ?
  4. 23:34 Faut-il vraiment utiliser des sous-domaines pour gérer le SEO multilingue dans les pays germanophones ?
  5. 28:59 Les contenus cachés sur mobile pénalisent-ils vraiment votre SEO ?
  6. 37:15 Peut-on vraiment utiliser noindex dans le fichier robots.txt ?
  7. 43:11 Les erreurs 404 causées par des liens externes cassés pénalisent-elles votre référencement ?
  8. 45:15 Le fichier disavow fonctionne-t-il vraiment et combien de temps faut-il attendre ?
  9. 45:29 Google ignore-t-il vraiment les liens spam ou faut-il encore s'en méfier ?
📅
Official statement from (8 years ago)
TL;DR

Google claims that links in the mobile HTML code are counted even if they are visually hidden from the user. This statement overturns the traditional understanding of PageRank and internal linking. For an SEO, this means the mobile source code must be audited, not just the visible display, as a hidden link by default (burger menu, accordion) still passes value if the HTML is loaded immediately.

What you need to understand

What does "visible during loading" actually mean?

Mueller refers here to the effective presence in the initial DOM, not CSS or JavaScript visibility. A link can be hidden by a display:none, a visibility:hidden, or positioned off-screen, and Google considers it as long as it is present in the HTML sent by the server.

The catch? Some frameworks load content asynchronously after the initial rendering. If your critical links only appear after a lazy-load JavaScript triggered on scroll, they may be ignored or discovered late. This nuance is crucial for SPA sites or React/Vue architectures that inject content through hydration.

Why is this clarification about mobile-first indexing important?

Since the complete shift to mobile-first, Google crawls and indexes primarily the mobile version of your HTML code. If your desktop site shows 50 links in the footer but the mobile version only displays 5 hidden behind an accordion, it is those 5 links that count for the internal PageRank.

The classic mistake? Assuming Google "sees" the desktop version. No. Even if 80% of your traffic comes from desktop, it is the mobile code that determines your link structure in Googlebot's eyes. This asymmetry creates significant distortions in the crawl budget and link juice distribution.

How does it differ from links loaded with pure JavaScript?

A link present in the initial HTML but visually hidden remains a standard HTML link. Google processes it normally. A link generated solely by JavaScript after user interaction (click, hover, infinite scroll) presents a different problem: Googlebot must execute the JS, which slows down the crawl and offers no guarantee of quick discovery.

The technical recommendation remains unchanged: prioritize native HTML links in the initial DOM, even if you later hide them with CSS. Hybrid solutions (server-side rendering, progressive enhancement) offer the best compromise between mobile UX and optimal crawlability.

  • Links in the mobile HTML code count even if they are visually hidden (CSS, accordions, burger menus).
  • Google uses the mobile code to calculate internal PageRank, not the desktop version.
  • Links injected solely by JavaScript after the initial load are less reliable for crawling.
  • Audit the initial mobile DOM with "View Source" and not just the browser inspector that shows the DOM after JS execution.
  • Mobile menus collapsed by default pass link juice if the HTML is present from the start.

SEO Expert opinion

Is this statement consistent with field observations?

Yes, and it has been documented for years. A/B tests on e-commerce sites show that links hidden in closed accordions do indeed pass PageRank. Crawling tools (Screaming Frog, Oncrawl) confirm that Googlebot follows these links even when the user never sees them.

But beware of the trap of over-optimization. Google has clearly indicated in the past that hiding content solely to manipulate ranking can be penalized. The nuance? If the hidden content serves mobile UX (space-saving, simplified navigation), it is acceptable. If you cram 500 invisible links into a mobile footer to artificially inflate linking, you take a risk.

What limits should be set on this rule?

Mueller does not specify the relative weight of these hidden links versus visible links. Experience shows that Google can slightly devalue them, without completely ignoring them. A visible link in the main content will probably have more impact than a link buried in a burger menu never opened by 95% of users.

A second limit: semantic context. A link hidden in a "Legal Mentions" or "Site Map" block does not carry the same contextual weight as a link in the editorial body. Google understands the topology of pages and adjusts the link value according to their position in the DOM and their semantic environment. [To verify] on large volumes, but partial tests converge.

In what cases does this rule not apply?

If your links are loaded only after a mandatory user interaction (click on "See more", infinite scroll without HTML fallback), Google may miss them or discover them late. Full-JS sites (pure React without SSR, Angular without prerendering) remain exposed to this structural risk.

Another problematic scenario: conditional links depending on geolocation or device. If your server sends different HTML based on the user-agent and Googlebot mobile receives a stripped-down version, you lose linking. The responsive CSS approach (same HTML, adapted display) remains safer than poorly calibrated responsive server-side.

Warning: This statement does not exempt you from having a coherent link architecture. A site with 90% of the links hidden by default poses user experience problems that indirectly affect SEO (bounce rate, time on site, behavioral signals). Technical optimization does not replace clear navigation.

Practical impact and recommendations

What should be prioritized when auditing your mobile site?

Start with a mobile emulated crawl using Screaming Frog or Sitebulb in smartphone mode. Compare the number of discovered links versus a desktop crawl. A deviation greater than 20-30% signals a potential structural problem. Check particularly the navigation menus, footers, and related link blocks.

Then, examine the raw source code (View Source, not Inspect Element) of your key pages. Critical links for your internal linking should appear in the initial HTML, before any JavaScript execution. If you see empty <div id="menu"></div> that are later filled by JS, it’s a red flag.

What technical errors should absolutely be avoided?

Never remove links from the mobile HTML to "lighten" the page. If you need to hide visually, use pure CSS (display:none, position:absolute; left:-9999px, opacity:0). These techniques preserve the link in the DOM while keeping it hidden from the user.

Avoid frameworks that inject navigation only after DOMContentLoaded or worse, after a user event. Even if Google executes JavaScript, link discovery will be slower, impacting the crawl of deep pages. Sites with thousands of pages cannot afford this bottleneck.

How can I verify that my implementation is optimal?

Use Google's Mobile-Friendly Test and review the rendered screenshot. Then compare it with the raw HTML code. If your links appear in the code but not in the visual rendering, that’s a good sign for crawling. If your links appear in neither the code nor rendering, they are invisible to Google.

Also test with the Rich Results Test which shows the DOM after JavaScript execution. This gives you insight into what Googlebot actually sees. For large sites, continuous monitoring via log analysis (crawler hits on navigation URLs) confirms that Googlebot is discovering your pages via these hidden links.

  • Audit the raw HTML source code (View Source) to verify the presence of links before JS execution.
  • Compare the number of internal links crawled in mobile mode versus desktop with a tool like Screaming Frog.
  • Ensure that burger menus and accordions contain links in the initial DOM, not loaded after interaction.
  • Avoid server-side conditional links that send different HTML based on user-agent without clear SEO logic.
  • Monitor server logs to confirm that Googlebot mobile is indeed crawling URLs linked from hidden areas.
  • Prefer responsive CSS (same HTML, adapted display) over responsive server-side (different HTML by device).
Mobile-first indexing imposes increased technical rigor on mobile HTML structure. Links that are visually hidden but present in the initial DOM are considered, but this flexibility does not exempt you from coherent architecture. A site with clear navigation, native HTML links, and controlled progressive rendering maximizes its chances for optimal crawl. These optimizations often touch on the technical core of the site (templating, JS frameworks, caching strategies). If your team lacks resources or expertise in these areas, hiring a technical SEO agency can help you avoid costly mistakes and hasten the compliance of your platform.

❓ Frequently Asked Questions

Un lien caché par display:none transmet-il du PageRank en mobile-first ?
Oui, tant qu'il est présent dans le HTML initial envoyé par le serveur. Google traite ces liens normalement même s'ils ne sont pas visibles pour l'utilisateur mobile.
Faut-il avoir la même structure de liens en mobile et desktop ?
Non, mais Google crawle et indexe la version mobile. Si votre mobile a moins de liens internes, c'est cette structure appauvrie qui détermine votre maillage interne aux yeux de Google.
Les liens dans un menu burger fermé sont-ils suivis par Googlebot ?
Oui, si le HTML du menu est présent dans le DOM initial. Google ne simule pas le click sur le burger, il lit directement le code source HTML.
Peut-on être pénalisé pour trop de liens cachés en mobile ?
Google sanctionne le contenu caché destiné à manipuler le ranking. Si vos liens cachés servent l'UX mobile (gain de place, navigation repliable), pas de risque. Si c'est du spam de liens invisibles, oui.
Comment vérifier ce que Googlebot voit réellement sur mobile ?
Utilisez View Source (pas Inspect Element) pour voir le HTML brut, puis le Mobile-Friendly Test de Google. Comparez les deux : le HTML brut montre ce qui est envoyé, le test Google montre ce qui est rendu après JS.
🏷 Related Topics
Domain Age & History Crawl & Indexing Links & Backlinks Mobile SEO Pagination & Structure

🎥 From the same video 9

Other SEO insights extracted from this same Google Search Central video · duration 51 min · published on 14/12/2017

🎥 Watch the full video on YouTube →

Related statements

💬 Comments (0)

Be the first to comment.

2000 characters remaining
🔔

Get real-time analysis of the latest Google SEO declarations

Be the first to know every time a new official Google statement drops — with full expert analysis.

No spam. Unsubscribe in one click.