When I searched Google on November 4, 2026 for "do ai crawlers read accordion content", the AI Overview said yes, but only if the text is already in the raw HTML when the page loads. It cited blog posts and a video, and none of them had counted anything on real pages, so I did.
On 26 of the 27 pages I tested, the text behind a tab or accordion was already in the HTML the server sent. The trouble sits with a smaller group of pages that build a panel only when you open it. This post covers what Google says, what the AI companies don't, and how to check your own page in two minutes.
Google is the easy half
The hidden-text section of Google's spam policies lists white text on a white background, text pushed off-screen and text set to zero opacity as abuse. It then says other design elements that show and hide content "don't violate our policies", and the first one it names is accordion and tabbed content.
The limit is the click. The mobile-first guide adds that Google won't load content that needs swiping, clicking or typing.
| Google page | What it says | Updated |
|---|---|---|
| Spam policies | Accordion and tabbed content is allowed | Aug 28, 2026 |
| Mobile-first indexing | Don't lazy-load primary content upon user interaction | Dec 10, 2025 |
| Lazy-loading guide | Google Search does not interact with your page | Dec 10, 2025 |
| JavaScript SEO basics | A headless Chromium renders the page and runs its JavaScript | Mar 4, 2026 |
Google renders scripts, so text a script adds at load is seen. A panel that waits for a click is not.
No Google page says how much weight collapsed text carries. Gary Illyes was quoted in 2016 saying content hidden for UX should get full weight, but that comes second-hand through Search Engine Roundtable and is ten years old. I wouldn't build on it, and I'd treat whether collapsed text ranks lower as unanswered.
The AI crawlers are the open question
I read the crawler pages from OpenAI, Anthropic and Perplexity on November 4, hoping for a line about JavaScript. All three cover bot names, robots.txt rules and IP lists. None says whether the bot runs scripts, clicks a tab or reads a collapsed panel.
Vercel and MERJ studied crawler traffic in December 2024 and found that none of the major AI crawlers render JavaScript. ChatGPT's and Claude's bots download script files but don't run them. Vercel sells server rendering, and the data is nearly two years old.
In October 2026, Glenn Gabe re-tested by asking five chatbots to read test pages and return the first and last paragraphs. ChatGPT, Claude and Perplexity failed on content built by JavaScript, and Gemini passed every test. That's a prompting test on a handful of pages, not a crawler log. Our post on whether AI bots can crawl your website covers both tests.
Helen Pollitt of Getty Images gave the practical version in Search Engine Journal in January. Content has to be "contained within the DOM on the first load", she wrote, because Googlebot "doesn't have the ability to switch between tabs".
How often does ChatGPT mention your brand?
Most founders have no idea. The answer might surprise you.

What 27 real pages showed
I pulled Google's live results for 88 searches on November 4 and 5, aimed at different site types and at FAQ and docs pages, and kept one page per domain. Each page got a plain request, as a crawler that skips scripts would fetch it. Then I opened it in a headless browser, clicked its tabs and accordions, and searched the plain response for the opening words of every panel.
| Step | Number |
|---|---|
| Google searches | 88 |
| Pages kept, one per domain | 476 |
| Pages fetched and rendered | 375 |
| Pages with a tab or accordion | 72 |
| Pages with a usable widget | 27 |
| Triggers opened per page | Up to 8 |
| Words taken from each panel | 12 |
I wanted 60 pages and got 27, because most results for FAQ-style searches are articles about FAQs, and only 27 of the 72 pages with a tab or accordion had panels long enough to test.
| Widget type | Pages | Text in the plain HTML |
|---|---|---|
| Native details and summary | 10 | All 10 pages |
| JavaScript accordion, text in the page | 9 | 8 of 9 pages |
| Page-builder widgets (Elementor, Squarespace) | 8 | All 8 pages |
| All | 27 | 26 pages, 74 of 77 panels |
All but one page had every tested panel in the plain HTML. The exception was an FAQ page whose answers appear in the raw response only inside its FAQPage markup, while a script builds the visible accordion. No tested panel needed a script at load or a click. With 27 pages, the share of pages with click-dependent panels could still be about one in eight, so zero is a floor and not a verdict.
The exceptions turned up in two extra sets I picked by hand before fetching anything, kept out of the main count. Fourteen of the 20 pricing pages had a usable widget, and 3 of those had a panel missing from the plain HTML. A script rewrote one promo accordion's 10,000+ contacts to 5,000+.
| Extra set | Chosen | Usable | Missing a panel |
|---|---|---|---|
| Pricing pages | 20 | 14 | 3 |
| Documentation pages | 13 | 5 | 1 tab page |
One large framework's install page lists four package-manager tabs, but the plain response holds one panel, the default. The yarn and bun commands appear nowhere in it, and opening a tab fires no request for them, so the page's own script builds the panel. The other two docs tab pages were fine.
| Page | In the plain HTML | After a script or click |
|---|---|---|
| Pricing FAQ | No answers | Three answers on click |
| Pricing "show limitations" table | No table | Table built on click |
| Pricing promo accordion | 10,000+ contacts | 5,000+ contacts |
| Docs install page | One of four tab panels | All four, built by script |
I expected tabs that fetch their text when you click, and found none in 375 renders.
| Limit | What it means |
|---|---|
| 27 pages, one day | Intervals are wide, so don't rank widget types |
| Google's top results | Larger, better-ranked sites, and 21% couldn't be fetched |
| Detection by markup | A custom div with a click handler is invisible to my script |
| Not measured | Googlebot, AI crawlers, ranking weight, mobile layouts, logged-in pages |
Which of your tabs are in trouble
| Pattern | In the HTML? | What to do |
|---|---|---|
Native <details> and <summary> | Yes, all 27 panels | Keep it |
| JavaScript tab or accordion hidden by CSS (display none, height 0) | Yes, 24 of 27 panels | Keep it |
| Page-builder widgets | Yes, 23 of 23 panels | Keep it |
| Component that builds a panel when opened | No, in the pricing and docs sets | Render every panel, hidden |
| Text a script adds at load | Only after scripts run | Server-render it |
| Answers only in FAQPage markup | Only in script data | Print them in the page too |
| Text fetched on click | None found | Print it in the page |
The pattern behind the exceptions is modern component libraries. Some skip rendering a closed panel entirely, because nobody can see it yet. The page builders and plain details tags in my sample never did.
15 hours a week manually. Or 15 minutes with RankControl.
Track citations, monitor competitors, and fix content gaps across every AI search engine. Automatically.

Text in the HTML still isn't text a crawler keeps
I ran the 74 panels that were in the markup through two common open-source text extractors, trafilatura and Mozilla Readability, as a rough stand-in for what a crawler's reading step might do. I don't know which extractor, if any, a given AI crawler uses, so treat this as a warning and not a measurement of them.
All three extractor settings I tried, including trafilatura set to favor recall, dropped the three panels that used the hidden attribute, and trafilatura's default lost 12 of the 30 closed details panels.
| Extractor | All panels kept | Closed details kept | Hidden attribute kept | Ordinary paragraphs kept |
|---|---|---|---|---|
| trafilatura, default | 66% | 18 of 30 | 0 of 3 | 99% |
| Mozilla Readability | 72% | 21 of 30 | 0 of 3 | 89% |
The ordinary paragraphs are the first few on each page, so read this as a proxy. The cheap fix is to state your key answer in open text as well.
Check your own tabs in two minutes
I call it the sentence test, and it takes two minutes because the panels on a site usually come from one component. You're checking a template, not every page.
Open the page, right-click, and pick view source, not Inspect, which shows the page after scripts ran. Search for a sentence from inside a closed panel, or in a terminal run curl -s yoursite.com/page | grep -c "your sentence".
A count of 1 or more means a crawler that skips scripts can read it, as long as the hit sits in the visible markup and not in script data. A zero sends you to the Network tab, where you open the panel and watch. A request that returns the text means it loads on click, and no request means a script builds it. Our guide to technical SEO for SaaS calls the curl version a cold fetch and uses it for the whole page.
The URL Inspection tool offers a view crawled page option that Google says shows the "raw HTML returned", though many practitioners say the HTML tab shows the rendered page, so confirm with view source. The Rich Results Test says its explorer "uses the rendered source code". Neither proves what a crawler that skips scripts downloaded. Re-check after any theme or plugin update, since a new version can change how a component renders its panels.
What to change
Keep your accordions. If a panel is missing from your source, ask your developer to render every panel into the HTML and hide it with CSS or a details element, and use details when you can. If your component library skips closed panels, check whether it has an option to keep them mounted, or swap in details.
Put the main answer in open text and let the accordion carry the extras. A June r/squarespace thread asked whether everyone was overusing FAQ accordions because of AI tools. The site manager who posted it said every page now ends in a giant FAQ accordion, partly for AI tools, and replies said a long FAQ can mean the main copy is failing visitors.
Is anyone else overusing FAQ accordions because of AI search?
I feel like I've accidentally created a new website design problem for myself. I manage websites for multiple restaurant and hospitality brands, and over the last year I've started adding FAQ sections to a lot of pages because they seem hel...
Basic facts shouldn't live only in a FAQ. Answers kept only in FAQ markup need printing on the page too, and the markup has to match the visible text, as our post on FAQ rich results covers. And don't hide text with no way for a visitor to open it, because that's the behavior Google's policy goes after.
You can repeat this check after every redesign, or let RankControl publish each article as a native post on your own site through your CMS. The text is then part of the page your site serves. We also test your site every day as each AI crawler, and a blocked crawler shows up in Action Items. Our AI visibility tracking checks seven engines every week.
AI search traffic grew 835% this year. Is your content ready?
RankControl generates 26 content formats optimized for ChatGPT, Claude, and Perplexity. Published on your domain, matched to your brand.










