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

Google recognizes and correctly indexes hidden content in accordions, whether on mobile or desktop. With Mobile-First Indexing, hidden content on desktop has no impact on indexing because Google mainly relies on the mobile render. There's no SEO problem in using accordions.
18:44
🎥 Source video

Extracted from a Google Search Central video

⏱ 1h14 💬 EN 📅 04/06/2020 ✂ 44 statements
Watch on YouTube (18:44) →
Other statements from this video 43
  1. 2:22 What should you do if your site lost traffic after a Core Update without making any mistakes?
  2. 2:22 Are Core Web Vitals Really Going to Transform Your SEO Strategy?
  3. 3:50 Does a ranking drop after a Core Update really indicate an issue with your site?
  4. 3:50 Should You Really Wait Before Optimizing Core Web Vitals?
  5. 3:50 Why is Google delaying the complete transition to the Mobile-First Index?
  6. 7:07 Can Google really delay Mobile-First Indexing indefinitely?
  7. 11:00 Why doesn't Google canonicalize URLs with fragments in sitelinks and rich results?
  8. 11:00 Do URLs with fragments (#) in Search Console mean you need to rethink your tracking and analysis strategy?
  9. 14:34 Why do the numbers from Analytics, Search Console, and My Business never match?
  10. 14:35 Why do your Google metrics never align between Search Console, Analytics, and Business Profile?
  11. 16:37 How are FAQ clicks really counted in Search Console?
  12. 18:44 Is it true that mobile accordion hidden content is indexed as visible content?
  13. 29:45 Does the rel=canonical via HTTP header really still work?
  14. 30:09 Does the HTTP header rel=canonical really work to manage duplicate content?
  15. 31:00 Why does Search Console still show 'PC Googlebot' on recent sites when Mobile-First Index is supposed to be the standard?
  16. 31:02 Is it true that all sites indexed after July 2019 default to Mobile-First Indexing?
  17. 33:28 Why does Google emphasize textual context in Search Console feedback?
  18. 33:31 Are Search Console tools really enough to solve your indexing problems?
  19. 33:59 Why are your pages still not indexed after 60 days in Search Console?
  20. 37:24 What happens when Google occasionally indexes HTTP instead of HTTPS even after an SSL migration?
  21. 37:53 Is it really necessary to combine both 301 redirections AND canonical tags for an HTTPS migration?
  22. 39:16 What really causes your sitemap to fail in Search Console and how can you effectively resolve the issue?
  23. 41:29 Is your brand disappearing from the SERPs for no apparent reason: can Google feedback really fix it?
  24. 44:07 Should you choose a subdomain or a new domain for launching a service?
  25. 44:34 Subdomain or New Domain: What Does Google Really Think for SEO?
  26. 44:34 Do Google penalties really transfer between domains and subdomains?
  27. 45:27 Do Google penalties really spread between domains and subdomains?
  28. 48:24 Should you really overlook PageRank when deciding between a domain and a subdomain?
  29. 48:33 Do links between root domains and subdomains really pass PageRank?
  30. 49:58 Should you really be worried about duplicate content from scraping?
  31. 50:14 Can you relaunch an old domain without being penalized for duplicate content by spammers?
  32. 50:14 Should you really report every scraping URL via the Spam Report to prompt action from Google?
  33. 57:15 Is it really necessary to report spam URL by URL to assist Google?
  34. 58:57 Why does Google refuse to show your FAQs in rich results despite perfect markup?
  35. 59:54 Why doesn't Google display your FAQ rich results even with perfect markup?
  36. 65:15 Is it possible to add FAQs to your pages just to secure rich results in SEO?
  37. 65:45 Can you really add a FAQ just to get the rich result without risking penalties?
  38. 67:27 Should you still optimize rel=next/prev tags for pagination?
  39. 67:58 Should you really submit all paginated pages in the XML sitemap?
  40. 70:10 Should you really index all category pages to optimize your crawl budget?
  41. 70:18 Should you really stop placing category pages in noindex?
  42. 72:04 Does the number of JavaScript files really slow down Google indexing?
  43. 72:24 Does Googlebot really render all JavaScript in a single pass?
📅
Official statement from (6 years ago)
TL;DR

Google claims to correctly index hidden content in accordions, whether the site is viewed on mobile or desktop. With Mobile-First Indexing, hidden content on desktop no longer influences indexing since Google primarily crawls the mobile version. For SEO, this means you can optimize UX without fear of penalties - but it still needs to be implemented correctly.

What you need to understand

Why is Google changing its stance on hidden content?

For years, hidden content was viewed with suspicion by Google. Hiding text in accordions, tabs, or collapsible sections was considered a borderline technique - a way to stuff keywords without polluting user experience.

The Mobile-First Indexing has reshuffled the cards. Since Google now primarily crawls the mobile version of a site, and screen space is limited on mobile, hiding content in accordions has become a legitimate UX practice. Google has acknowledged that hidden content in interactive elements is indexed and treated like any other visible text.

What does this mean for indexing?

Before Mobile-First, hidden content on desktop could be devalued or ignored. Today, if your site is on Mobile-First Indexing — which is the case for nearly all sites — Google primarily reads your mobile version. If your accordion is present and technically accessible in the DOM, the text it contains is indexed.

This means that a long editorial content divided into collapsible sections won’t be penalized. Google's crawler executes JavaScript, virtually unfolds accordions, and indexes the text. There's no need to display everything at once to satisfy the bot.

Are there technical conditions to meet?

Yes. Google indexes hidden content only if this content is present in the HTML or loaded in an accessible manner to the bot. If your accordion loads text via AJAX upon clicking, ensure that Googlebot can trigger the event or that the content is prerendered server-side.

Semantic tags also play a role. Using <details> and <summary> HTML5 or correct ARIA attributes helps Google understand that content is intentionally hidden for UX reasons, not to manipulate rankings.

  • The content in an accordion is indexed like regular visible content if Mobile-First Indexing is active.
  • The technical implementation must allow Googlebot to access the hidden text (present in the DOM or prerendered).
  • HTML5 semantic tags (<details>, <summary>) or ARIA enhance clarity of the UX intention.
  • Hidden content on desktop no longer impacts indexing since the move to Mobile-First.
  • Google executes JavaScript and can virtually “unfold” accordions to extract text.

SEO Expert opinion

Does this statement align with on-the-ground observations?

Yes and no. Tests show that Google indeed indexes the content of properly implemented accordions. We see pages ranking for queries where keywords are only present in collapsible sections. This aligns with the Mobile-First logic: hiding content for mobile clarity has become the norm.

However — and this is where it gets tricky — the semantic weight of hidden content remains unclear. Google claims to index it, but indexing doesn't mean giving it the same weight as immediately visible content. Several SEO studies [To be verified] suggest that text displayed at the top of the page, requiring no interaction, might receive a slight relevance advantage over content buried in an accordion. Google has never explicitly confirmed this.

When does this rule not apply?

If your site is not yet on Mobile-First Indexing — rare, but it still exists for very old or technically problematic sites — Google first crawls the desktop version. In this case, hiding content on desktop may still pose a problem.

Another case: poorly structured JavaScript accordions. If the content is not in the initial DOM and AJAX loading fails for Googlebot, the text will never be seen. Always test the URL inspection tool in Search Console to see what Google actually renders.

Warning: Accordions should never be used to hide content only for search engines. If users cannot easily access the text (e.g., accordion without a visible button, content in display:none without possible interaction), Google may consider this cloaking.

What is the difference between accordion and tab?

Tabs present a more subtle problem. If you have 5 tabs and only the first is displayed by default, the other 4 are technically present in the DOM but hidden. Google indexes them, but their perceived hierarchy may be lower: the content of the first tab could be interpreted as more priority.

Practically? If you have critical content — target keywords, main arguments — don’t hide it in the 3rd tab. Place it at the top, visible by default. Tabs are for segmenting secondary information or technical details. Accordions, on the other hand, are more neutral if the content unfolds vertically.

Practical impact and recommendations

What should I do if I use accordions?

Check that your technical implementation is crawlable. Use the URL inspection tool in Search Console: ask Google to render the page, then check the rendered HTML. The text of your accordions should appear in the source code returned by the bot.

If you use modern JavaScript (React, Vue, Angular), ensure that SSR (Server-Side Rendering) or prerendering is enabled. Otherwise, Googlebot will have to execute all the JS to see your content, which adds latency and can be problematic if the crawl budget is tight.

What mistakes to avoid with accordions?

Don't hide your entire main content in accordions. If a product page only shows the title and a 'See description' button, you're taking a risk. Google will index the text, but the UX is so degraded that the bounce rate will explode — and Google captures this through behavioral signals.

Avoid excessively nested accordions. Three levels deep is already pushing it. The more you bury content, the harder it becomes for both the bot and the user. Important content should remain accessible within a maximum of one click.

How to check that my accordions are indexed correctly?

Run a Google search with site:yoursite.com "unique excerpt of text present in the accordion". If the page appears and the excerpt is shown in results, that’s a good sign. Otherwise, inspect the raw source code (Ctrl+U): if the text isn’t there, Googlebot will need to execute the JS — which works, but with a slight delay.

Another test: use a tool like Screaming Frog in “JavaScript rendering” mode to crawl your site. Compare the content retrieved with and without JS enabled. If large portions of text disappear without JS, your implementation is fragile.

  • Inspect every page template using accordions with the Search Console rendering tool.
  • Check that hidden content is present in the initial DOM or loaded in an accessible manner to the bot.
  • Use HTML5 semantic tags (<details>, <summary>) or correct ARIA attributes.
  • Never hide the entirety of a page's main content in accordions — keep at least one visible lead.
  • Test indexing with site: queries targeting text excerpts present only in the accordions.
  • Crawl the site with Screaming Frog in JavaScript mode to detect content invisible without JS rendering.
Accordions are now SEO friendly if the technical implementation is clean and the content remains accessible to Googlebot. Prioritize UX clarity: the most important content should remain visible or accessible within one click. If you have doubts about the quality of your code or if your site uses complex JS frameworks, hiring a specialized SEO agency can help you avoid costly mistakes and ensure optimal indexing of all your content.

❓ Frequently Asked Questions

Le contenu dans un accordéon a-t-il le même poids SEO que du contenu visible ?
Google affirme indexer le contenu des accordéons normalement, mais il n'a jamais confirmé explicitement que ce contenu bénéficie du même poids sémantique qu'un texte immédiatement visible. Les observations terrain suggèrent qu'un contenu prioritaire reste mieux valorisé s'il est affiché en haut de page sans interaction requise.
Est-ce que tous les sites sont en Mobile-First Indexing ?
La quasi-totalité des sites sont passés en Mobile-First Indexing. Seuls quelques sites très anciens ou présentant des problèmes techniques majeurs sur mobile peuvent encore être crawlés en desktop-first. Tu peux vérifier ton statut dans la Search Console.
Puis-je cacher tout le contenu de ma page dans des accordéons ?
Techniquement oui, Google indexera le texte. Mais l'UX sera catastrophique, ce qui impactera tes signaux comportementaux (taux de rebond, temps sur page). Garde au minimum un chapô ou une introduction visible pour orienter l'utilisateur.
Comment savoir si Googlebot voit bien le contenu de mes accordéons ?
Utilise l'outil d'inspection d'URL de la Search Console et consulte le HTML rendu par Google. Le texte caché doit apparaître dans le code source retourné. Tu peux aussi tester avec une requête site: ciblant un extrait unique présent dans un accordéon.
Y a-t-il une différence entre accordéons et onglets pour le SEO ?
Google indexe les deux, mais les onglets introduisent une hiérarchie visuelle plus marquée : le contenu du premier onglet peut être perçu comme plus prioritaire. Si tu as des mots-clés critiques, mets-les dans l'onglet affiché par défaut ou utilise des accordéons qui se déroulent verticalement.
🏷 Related Topics
Content Crawl & Indexing Mobile SEO Web Performance

🎥 From the same video 43

Other SEO insights extracted from this same Google Search Central video · duration 1h14 · published on 04/06/2020

🎥 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.