How AI sees your page

Tabs, cookie banners, login walls: what hides your content from AI

Two columns: on the left, content that is hidden but present in the HTML (tabs, accordions, details section, banner laid over the page, JavaScript paywall), received by a crawler but not always kept; on the right, content missing from the HTML ("Load more," infinite scroll, answers loaded on click, consent page, members' area), never received by a crawler that doesn't interact HOW AI SEES YOUR PAGE What hides your content from AI Hidden, but in the HTMLreceived, not always kepttab or accordion<details> sectionbanner over the pageJavaScript paywallMissing from the HTMLnever received without an action"Load more," scrollinganswer loaded on clickconsent pagemembers' area, loginA crawler doesn’t click, scroll or log in

Updated December 1, 2026.

It all comes down to one question: is the text in the page’s HTML code, or does it only arrive after a visitor does something? The text of a tab, an accordion or a collapsed FAQ that is already in the code is received by a crawler, even one that doesn’t run JavaScript; some extraction tools keep it, others remove it. Anything that only loads after a click, a scroll or a login is never seen by a reader that doesn’t interact with the page; what a script adds on its own is missed by readers that don’t run JavaScript. Even Google Search’s crawler, which runs JavaScript, doesn’t click, doesn’t scroll the page and doesn’t log in, according to Google’s documentation consulted on December 1, 2026.

Google documents these cases well for its search engine; AI companies, much less.

Hidden or missing from the HTML: the distinction that matters

HTML is the text your website’s server sends: headings, paragraphs, links. JavaScript is a program the browser runs afterwards, for example to open a tab. Several automated readers stop at the HTML: according to their documentation, Anthropic’s API “web fetch” tool doesn’t support websites rendered with JavaScript, and the crawler of Common Crawl, a public web archive, doesn’t run JavaScript. Who runs what: see JavaScript and AI.

SituationIn the HTML?What a reader without JavaScript receives
Tab or accordion whose text is in the codeYesThe text, sometimes removed during extraction
Cookie banner laid over the pageYesThe content, and the banner if it’s written in the HTML
Paywall that sends the article, then hides it with JavaScriptYesThe whole article
“Load more,” infinite scroll, answers loaded on clickNoOnly the first part
Redirect to a consent pageNoOnly that page
Members’ area, paywall checked on the serverNoThe public part

Tabs, accordions and collapsed FAQs: present, but not always kept

For Google Search, an honest tab is not a problem: on mobile, Google even suggests moving content into accordions or tabs instead of removing it, as long as it stays equivalent to the desktop version, and its spam policies, which target text hidden solely to manipulate search engines, state that accordions and tabs don’t violate them.

In a post on the Microsoft Advertising blog (October 8, 2025), Krishna Madhavan, Principal Product Manager at Microsoft Bing, by contrast advises against hiding important answers in tabs or expandable menus, because AI systems may not process hidden content. This is blog advice: Bing’s official guidelines, which also cover Copilot, don’t mention tabs; they rather advise against hiding critical content behind client-side rendering.

In my view, the two don’t contradict each other: Google is talking about its own engine, which runs JavaScript; Microsoft, about AI systems in general. And some extractors do remove hidden text: Readability, the engine behind Firefox’s Reader View, also used by other tools, removes elements marked as hidden in the tag itself: the hidden attribute, aria-hidden="true", or a display:none or visibility:hidden style. It doesn’t read separate style sheets. Two accordions that look identical on screen can therefore be treated differently.

HTML’s native collapsible section, <details>, keeps its content in the code without a hidden attribute: according to Readability’s code, that content is therefore not removed as “hidden” (this comes from reading the code: I found no published test).

For ChatGPT, Claude or Copilot, no documentation says exactly what happens to a closed tab, and I found no published test; the Microsoft post only warns that AI systems may not process it. Collapsed text isn’t invisible; it simply risks not being read. What extractors remove besides that: From HTML to text: how AI extracts a page’s content.

“Load more,” infinite scroll, lazy loading: what only arrives after an action

“Load more” buttons and infinite scroll are generally built with JavaScript; yet, according to several Google pages, its engine doesn’t interact with the page (no scrolling, clicking or typing) and its crawlers don’t “click” buttons.

Lazy loading waits until an image or a block gets close to the screen; good for speed, it can, done wrong, hide content from Google. Google asks that content load as soon as it enters the visible area, without waiting for an action, and, for infinite scroll, that each chunk have its own stable URL (such as ?page=12), linked to the others.

For a reader that doesn’t run JavaScript, whatever is added as you scroll doesn’t exist (my deduction: no AI company consulted mentions it). For images: Images, PDFs and videos: what AI really sees.

Cookie banners: over the page or instead of the page

A crawler doesn’t click “I accept”: that’s my deduction, since Google writes that its engine doesn’t interact with the page. According to Google, its rendering engine clears cookies on every page load; Common Crawl’s crawler doesn’t use cookies. A crawler therefore sees the page as a brand-new visitor, and everything depends on how the banner is built:

  • Laid over the page, the banner leaves the content in the HTML. An extractor may keep its text, or remove it if it recognizes it: Readability’s list targets blocks whose class or ID (labels in the code) contains “banner,” “gdpr” or “popup,” unless that name also contains a word such as “article,” “content” or “main.”
  • Instead of the page: if the server redirects to a consent page, or replaces the content, the reader only receives that page.

For a restaurant, it’s the difference between a banner that leaves the menu in the page and an “Accept to continue” page that replaces everything. Google, which says intrusive dialogs make content hard for search engines to understand, recommends, when nothing requires otherwise, not covering the whole page or redirecting visitors to a separate page for their consent.

In a test published by consultant Glenn Gabe (October 2026) on a page built with JavaScript, Perplexity mostly extracted the cookie banner text: a single observation, where two causes overlap. You can’t conclude from it that a banner, on its own, hides the content.

Age verification and country blocking

When age verification is mandatory, Google recommends laying it over the content rather than redirecting every URL to a single page, the only one Googlebot could then read. Also according to Google, Googlebot’s IP addresses appear by default to be based in the USA: a site that turns away visitors outside Canada risks turning it away too. The OpenAI and Perplexity pages say nothing about which country their crawlers read from: I can’t claim anything. Pages that change depending on the country will get their own article, “Does AI see the same page as your visitors?”

Login walls and paid content: what crawlers don’t see

Crawlers don’t log in. Google writes that if a page requires a login, Googlebot won’t crawl it. Perplexity’s URL fetch tool doesn’t bypass access controls, and the Gemini API’s URL context tool only accepts public URLs, with no paywalled content. OpenAI and Anthropic say nothing on this point in the pages consulted.

A separate exception: agent browsers, real browsers driven by AI on a person’s behalf. According to OpenAI’s help center, consulted on December 1, 2026, ChatGPT’s “cloud browser” (in Work, on some paid plans) pauses at a supported sign-in page and asks the person to sign in; it can then continue with their session. It only sees what that person has access to, and some websites restrict these agents. These products change often; the difference between crawlers and agents is in the list of AI crawlers.

A JavaScript paywall, which sends the full article and then hides it, doesn’t really protect anything: Google writes that this isn’t a reliable way to limit access. The Columbia Journalism Review observed it with AI browsers in October 2025: on a site with an “overlay” paywall, the text loaded in the page, whereas server-side paywalls only send the text after checking the subscriber. (To stop AI from reading your public pages instead: blocking AI crawlers.)

For paid content you want indexed, Google suggests letting people read a few articles or the first few sentences before the paywall, and structured data (isAccessibleForFree set to false, with the paid part identified) that helps it tell a paywall apart from a prohibited practice. This applies to Google Search: no AI company consulted documents this markup (see Structured data: does AI read it?).

What the simulator’s alerts flag

The free simulator reads your public page without JavaScript or clicks: a simulation of a simple fetch, not the real crawler of an AI company. Three alerts are about hidden content:

  • “Content behind a login” (“To fix”): the final URL contains a word such as login, connexion, compte or account, or the page contains a password field.
  • “The structured data marks the content as paid” (“To improve”): the JSON-LD contains isAccessibleForFree: false. It’s often the sign of a site doing things right: check that the public part is enough, without removing the markup.
  • “… hidden words … were removed from the text view” (“Info”): a lot of text is hidden in the tag, in one of the four ways Readability removes; the tool also removes it from its text view, but doesn’t count a closed <details>. Removed small cookie banners also appear in the “Removed from the text view” line. It’s a cautious assumption: as the alert says, some AIs also read hidden text, others don’t.

Eight steps to stop hiding what matters

  1. The essential answer visible, the details in the tab: starting price, hours, service area in plain view.
  2. A visible FAQ rather than an accordion that loads its answers on click; to collapse it, <details> keeps the text in the HTML without marking it as hidden (according to Readability’s code, with no published test).
  3. Prices and the menu in the page, not only behind “See prices,” “Load more” or a form.
  4. Numbered pages with real links rather than infinite scroll alone (often a theme setting).
  5. A cookie banner laid over the page, without covering all of it, not a redirect to a consent page.
  6. A public page that sums up the members’ area or the paid content.
  7. What must stay private, out of the public HTML: access checked on the server.
  8. Check with the simulator, especially your page builder’s accordion: is its text in the HTML, and is it hidden?

None of these steps guarantees a citation. They expand on step 9 of the checklist for making a page readable by AI; the overview is in How an AI sees your web page.

Waitlist. I’m building new tools to help website owners and creators stay in control when it comes to AI. Get notified at launch.

Frequently asked questions

Is text hidden in a tab or an accordion read by ChatGPT and other AIs?

No documentation spells it out for ChatGPT, Claude or Copilot, and I found no published test. If the tab’s text is in the HTML code, a crawler receives it; some extraction tools, such as Readability, then remove it if it’s marked as hidden in the tag. A post on the Microsoft Advertising blog by a Bing product manager (October 2025) advises against hiding important answers in tabs: keep the essentials visible.

Does Google penalize content placed in an accordion or a tab?

No, according to its spam policies: accordions and tabs that show or hide content don’t violate them, and only text hidden to manipulate search engines is targeted. On mobile, Google even suggests putting content in accordions or tabs rather than removing it, as long as it stays equivalent to the desktop version. This applies to Google Search, not to other AIs.

Can a cookie banner stop an AI from reading a web page?

It depends on how it’s built. A banner laid over the page leaves the content in the HTML; a redirect to a consent page leaves the crawler with only that page, because a crawler doesn’t click “I accept” (an agent browser, driven on a person’s behalf, can). The only published test I found, by Glenn Gabe (October 2026), shows Perplexity mostly extracting a banner, but on a page built with JavaScript: two causes overlap.

Does a “Load more” button or infinite scroll hide products from Google and AI?

Often, yes. Google writes that its crawlers don’t click buttons or scroll the page, and a reader that doesn’t run JavaScript only receives the initial HTML. Google recommends giving each chunk its own stable URL, such as ?page=12, and linking those URLs together.

Can AI crawlers read the content of a password-protected members’ area?

Crawlers, no: Google doesn’t crawl pages that require a login, and the documented fetch tools of Perplexity and the Gemini API don’t get past access controls. ChatGPT’s cloud browser can continue a task after the person signs in themselves, but it then only sees what that person has access to. A public page that sums up the members’ area is the only part crawlers can read.

Why does the devjpt.com simulator show the “Content behind a login” alert?

It appears when the final URL contains a word such as login, connexion, compte, account or auth, or when the page contains a password field. The word can be part of another word (account in accounting, auth in author): in that case it’s a false alarm. A simple login form in the header of a public page can trigger it: the public content is still read in that case. If the whole page is restricted, only a public page that sums it up can be read by crawlers.

What does the “hidden words” alert in the devjpt.com simulator mean?

It signals that a good part of the page’s text is hidden in the code (hidden attribute, aria-hidden=”true”, or a display:none or visibility:hidden style written in the tag), for example in tabs, menus or pop-ups. The simulator removes those words from its text view, like some extraction tools do; other AIs also read hidden text. If important information sits in those elements, make it visible.

Sources

Documents consulted on December 1, 2026.

Spotted an error or a change? Write to me from the home page: every correction is dated at the bottom of the article.

Share this article