Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Content hidden behind tabs and accordions: how to fix it

SEO-138Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Many pages hide content in tabs, accordions, "read more" panels or FAQ lists. There are two ways to build them. In the safe way, the text is already in the HTML and CSS or a small script hides it. In the risky way, the text is fetched or built by JavaScript only when someone clicks.

Why it costs you leads or sales

Tabs and accordions often hold the content that answers buying questions: specifications, pricing details, delivery terms, FAQs, service descriptions. If that text is not indexed, your page cannot rank for those searches and cannot be quoted by AI assistants. Visitors who search for those exact details land on a competitor instead.

How click-loaded content gets lost
  1. Crawler loads pageRaw HTML and scripts fetched
  2. Tab or accordion shownOnly the headings are visible
  3. Click requiredCrawler does not click
  4. Content fetchedNever requested
  5. Indexed and quotedText absent from search and AI answers

The crawler never performs the click, so the content step is never reached.

Searchable text on a product pageExample numbers
Searchable text on a product page (example)Visible without a click: 180 words; Loaded only after a click: 900 words0345690180900Visible without a cli…Loaded only after a c…words

Example: a product page where specs, delivery and FAQ sit in click-loaded tabs. Numbers are illustrative.

How to check if your site has it

Test a page in five minutes
  1. Pick a phrase inside a tab or accordion

    Copy a distinctive sentence from content you only see after clicking.

  2. View the raw HTML

    Open the page, right-click and choose View page source (not Inspect). Search with Ctrl+F or Cmd+F for your phrase.

  3. Compare with curl

    Run the command below and search the output. If the phrase is missing, it is not in the initial HTML.

  4. Watch the Network tab

    Open browser DevTools, go to Network, then click the tab. A new request (often XHR or Fetch) that returns the text means it is loaded on click.

  5. Check Google's view

    In Google Search Console, use URL Inspection, then View crawled page, and look for the phrase in the HTML.

Search the raw HTML for a phrasebash
curl -s https://example.com/product | grep -i "free returns within 30 days"

How to fix it

The principle is the same everywhere: render all panel text in the page on load, then use CSS or a light script to collapse it. The native HTML details element does this with no JavaScript.

Accordion with content already in the HTMLhtml
<details>
  <summary>What is your returns policy?</summary>
  <p>You can return any item within 30 days for a full refund.</p>
</details>
Fix by platform
  1. Check your tab or accordion plugin or block

    Look in its settings for options such as AJAX loading, load on click or lazy load tabs, and turn them off.

  2. Use a core or static block

    If the plugin cannot render content up front, switch to the core Details block or another accordion that outputs the text in the HTML.

Accordion loading

Loaded on click

  • Panel is empty in the raw HTML
  • Text fetched by an API call after a click
  • Crawlers and AI tools never see the answer

In the HTML up front

  • Full text present on first load
  • Click only shows or hides it
  • Text can be indexed and quoted

How to confirm it's fixed

Confirmation checks
  • The phrase from inside the tab appears in View page source
  • curl output contains the phrase without any click
  • No new network request is needed to reveal the text
  • Search Console URL Inspection shows the phrase in the crawled HTML
  • The tab or accordion still opens and closes for visitors, including by keyboard

How to prevent it happening again

Habits that keep content visible
  • Add a raw HTML check to your launch checklist for every new template
  • Ask developers and agencies to render descriptive text on the server
  • Re-test after installing or updating tab, FAQ or page-builder plugins
  • Re-check key pages after theme changes
  • Keep a list of your top pages and a phrase from each hidden panel to test with curl

How FunnelGuard handles this

FunnelGuard does not check for this yet. Checking whether text sits in the raw HTML or only appears after a click is a possible future check, not a current feature.

What FunnelGuard does today is run your real customer journeys, such as lead forms, checkouts and booking or chat buttons, on a schedule from the EU or the US. It checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. That is useful if a tab or accordion change breaks a button or form on the journey, but it does not tell you whether content is indexable.

Questions people ask

Does Google index content inside tabs and accordions?

Yes, if the text is in the page HTML when it loads, even if CSS collapses it. Google does not click, so text that only appears after a click-triggered fetch is usually not seen.

Why is my accordion content not showing in Google?

The most common cause is that the text is loaded by JavaScript only when the accordion is opened. Check View page source for a phrase from the panel. If it is missing, move the text into the initial HTML.

How do I check if tab content is in the raw HTML?

Right-click the page, choose View page source and search for a sentence from the tab. You can also run curl on the URL and grep for it. If it is not found, it is not in the initial HTML.

Can ChatGPT or Perplexity read content in my tabs?

Only if it is in the raw HTML. Many AI crawlers do not run JavaScript or click anything, so click-loaded text is invisible to them. Server-rendered text can be read and quoted.

Is display:none bad for SEO?

Not by itself. Content hidden with CSS but present in the HTML is generally indexed. It is a problem when the content is not in the HTML at all.

How do I make accordion content crawlable?

Render all panel text on page load, on the server or at build time, and let the click only toggle visibility. The native HTML details and summary elements do this without JavaScript.

Does FunnelGuard detect content that loads only on click?

No. FunnelGuard does not check this yet, though it is a possible future check. Use view source, curl or Search Console URL Inspection to test pages yourself.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.