Accordion Content SEO: Does Hidden Content Count?

tabs, accordions and read more, checked against Google docs

Welcome, and thanks for opening this tab.

Accordion content SEO comes down to one test: is the text in the page when it loads? If it is, Google treats tabs and accordions as normal. If it only appears after a click, Google may never see it.

This guide covers what Google says, how it differs from hidden text spam, and how to test your own pages.

  • rules come from Google Search Central
  • a simple test you can run today
  • no ranking promises
accordion-check.txtexample data
setupin page at load?verdict
Closed details elementyessafe
Tabs switched by CSS or JSyessafe
Text fetched on clicknorisky
Text moved off screenyesspam risk

// example data for a made-up service page. Your own setup may differ.

the short answer

Hidden Behind a Click? Here Is the Short Answer

Content in tabs and accordions is acceptable to Google when it is in the page code at load and equal to what desktop visitors get. Content that needs a click to be fetched is the part that can fail.

Many owners worry that a collapsed section counts for less, or that it looks like cheating. Those worries are mostly misplaced. The real problem is accordions that fetch their text only on a click. Google says it does not click, so that text may stay invisible.

Google gives no figure for how much weight collapsed text carries, and I will not invent one. You control whether the words are there to read.

what google says

What Google Says About Tabs and Accordions

Google’s mobile-first guidance names tabs and accordions as a fair way to save space, as long as the content stays equivalent to desktop. Its spam policy lists them as acceptable too.

Google’s mobile-first indexing page speaks to this directly. It says that if you want to shrink a page for phones, you can move content into accordions or tabs. The condition is that the content stays equivalent to the desktop site. So the mobile page can fold text away, but it cannot drop it.

The spam policies page agrees. In its section on hidden text and links, Google lists expandable accordions and tabs, sliders and tooltips as acceptable ways to show or hide content. It also lists text meant only for screen reader users. The reason is simple: a person can open these elements and read what is inside.

Mobile-first indexing page

  • Tabs and accordions are fine to save space
  • The content must match the desktop site
  • Only what shows on the mobile site is used for indexing

Spam policies page

  • Expandable accordions and tabs are listed as acceptable
  • Hidden text means text people cannot easily see
  • The aim to fool search engines is what makes it spam

// from Google Search Central: mobile-first indexing best practices, and spam policies. Checked 30 Nov 2026. The two-card layout is mine.

I did not use statements from Google staff here. I only cite pages I fetched and checked, and the two documentation pages above are enough.

mobile first

Mobile-First Indexing and Folded Content

Under mobile-first indexing, Google uses the mobile version of your page. So the accordion on your phone layout is the one that counts.

This is where most real damage happens. A site might show the full text on desktop and cut it down on mobile to save space. Google’s troubleshooting guidance says only the content shown on the mobile site is used for indexing. If you trim text for phones, that text is gone from Google’s view.

Folding is different from trimming. A folded section is still in the page. A trimmed section is not. If you want a deeper look at the system itself, my guide to mobile-first indexing covers it step by step.

A quick check: open the page on a phone, open every panel, and compare the text with desktop. Fix any paragraph, table or link that exists on desktop only.

rendering

In the Page at Load or Loaded on Click?

Text in the page code at load is safe. Text fetched after a click is not, because Google says it does not interact with your page.

Google’s JavaScript guidance says it indexes the rendered HTML, not only the first response. So content that JavaScript adds during page load can still count. Its lazy-loading guidance draws the line at user action. It says Google Search does not interact with your page, and that Google won’t load content that needs swiping, clicking or typing.

That gives you a simple way to sort any accordion. Ask where the words come from. Follow the five stops below.

start

Is the text in the page code at load?

no: Google may never see it

01

Closed details element

text is in the HTML: safe

02

Tabs toggled by CSS

text is in the HTML: safe

03

JavaScript adds text on load

fine if it shows in rendered HTML

04

Text fetched on click

risky: Google does not click

05

Text only in a pop-up request

risky: test before you trust it

// built from Google Search Central: JavaScript SEO basics, lazy loading, and mobile-first indexing. The layout is mine. Checked 30 Nov 2026.

Google adds that rendering is not instant, and it still recommends server-side or pre-rendering where possible. So the safest accordion is plain HTML, with the text already in the page.

One related warning from Google’s mobile page: do not lazy-load primary content on user interaction. An accordion that loads its main answer on click breaks that rule. An accordion that holds supporting detail already in the code does not.

spam or not

How This Differs From Cloaking and Hidden Text

Cloaking shows search engines one page and people another. Hidden text places words where people cannot easily see them, only to influence search engines. An accordion shows the same words to both.

Google defines cloaking as presenting different content to users and to search engines, to manipulate rankings and mislead people. An accordion does not do that. Googlebot and a visitor get the same HTML. The visitor only needs one click to read it.

Hidden text is the closer cousin. Google’s examples include text colored to match the background, text behind an image, text pushed off screen with CSS, and text with zero font size or opacity. The shared trait is that a normal visitor cannot reach it. A button you can press does not fit that pattern.

The test I use is a plain question: could a real visitor reach this text without special tools? If yes, you are on the right side. If no, ask why the text exists at all. My Google spam policies guide lists every violation if you want the wider picture.

An accordion becomes a problem when it is stuffed with keywords no visitor would want to read. That is my opinion, not a named rule. The same goes for text that never opens because the toggle is broken.

safe or risky

Safe and Risky Setups Side by Side

Most accordion builds fall into one of five groups. This table sorts them by what Google documents and what I would do.

SetupWhat it doesMy take
Native details elementText sits in the HTML, closed until openedSafe, and built into browsers
Tabs with CSS or JS togglesAll panels are in the HTML, one is shownSafe if every panel is in the code
Read more link on the same pageRest of the text is in the HTML, cut off visuallySafe if it opens for everyone
Content fetched on clickText arrives from the server only after a clickRisky: Google does not click
Text moved off screen by CSSNo control opens itHidden text risk: avoid

// sorted using Google Search Central pages on spam policies, lazy loading and mobile-first indexing. The “my take” column is my opinion. Checked 30 Nov 2026.

usability and access

Usability and Accessibility Points

An accordion should help readers, not hide the answer. Build it so a keyboard and a screen reader can open it, and keep the key points open by default.

The W3C accordion pattern gives a clear model. Each panel title is a button inside a heading. The button reports whether its panel is open with the aria-expanded state, and it points to the panel through aria-controls. Enter or Space toggles the panel from the keyboard, and Tab moves through the controls in order.

The native details and summary elements cover much of this for you. MDN says the open attribute decides whether the contents show. It also says that giving several details elements the same name makes them behave as an exclusive group, where opening one closes the others, with no scripting. MDN mentions the space bar for toggling, so test Enter yourself in the browsers you care about.

Reader-First Rules

  • Use clear panel titles that tell a reader what is inside.
  • Keep the first, most useful panel open on load.
  • Do not hide the one answer a visitor came for.
  • Make the click target big enough for a thumb.

The last two are my opinion, not Google rules. A visitor who has to hunt for the answer may simply leave.

Jump links add one more wrinkle. A link to a section inside a closed panel should open that panel when clicked. My guide to table of contents and jump links covers how anchors behave on long pages.

test it

How to Test With URL Inspection

Use the live test in Search Console’s URL Inspection tool, then read the rendered HTML. If your accordion text is there, Google can see it.

Google’s help page says the live test fetches and examines the URL in real time. It can differ from the indexed version, and a good result does not guarantee indexing. Still, it is the best check you have for rendering.

  1. Open URL Inspection. Enter the full page address in the Search Console bar. You need access to that property.
  2. Run the live test. Click Test live URL and wait for the result.
  3. View the tested page. Click View tested page to see the HTML the tool received, the headers and the console output.
  4. Search for your text. Find a phrase from inside a closed panel. If it appears, the text is in the rendered page.
  5. Check the screenshot. Open the Screenshot tab to see how the page looks to the tool. Missing parts may come from resources the tool could not reach.
  6. Repeat for a click-loaded panel. If a phrase only appears after you click, expect it to be missing here.

// from Search Console Help: URL Inspection tool. Checked 30 Nov 2026. Live tests do not check quality rules or manual actions, and each property has a daily limit.

Closed panels look closed in the screenshot, and that is normal. Check the HTML, not the picture.

practical rules

Practical Rules for Accordions and Tabs

Six habits keep accordion content safe. They follow Google’s documentation where it speaks, and my own judgment where it does not.

Put the text in the HTML

  • Write every panel into the page code
  • Do not wait for a click to fetch it

Match mobile to desktop

  • Fold text, never trim it
  • Compare both versions with all panels open

Keep the main answer open

  • Show the core answer by default
  • Fold only supporting detail

Use real controls

  • Prefer a button or the native details element
  • Make sure keyboards can open every panel

Write panels for people

  • Each panel should be useful on its own
  • No keyword lists for bots

Test after every change

  • Run a live test on the page
  • Retest after a theme or plugin update

// rules 1, 2 and 6 come from Google Search Central. Rules 3 to 5 are my opinion. Checked 30 Nov 2026.

Because Google does not publish how it treats folded text, avoid depending on it. Put your main topic and best answer in visible text, and use panels for extras.

common mistakes

Common Mistakes and How to Fix Them

Most accordion problems come from plugins and themes, not from the idea of folding itself.

Panels that load on click

Some builders fetch each panel with a request. Switch the setting so all panels render in the page, or change the widget.

Mobile text that is shorter

A mobile template that drops paragraphs means Google may never read them. Restore the text and fold it instead.

Hiding the whole page

If every section sits in a closed panel, the page looks thin. Open the main content and fold the rest. See my thin content SEO guide.

Fake toggles

A panel title that does nothing, or text that no control reveals, looks like hidden text. Fix the control or remove the text.

Skipping the test

People trust how the page looks. Run the live test instead and read the HTML.

Heavy scripts for a simple job

A big script just to fold text slows the page. A native details element needs none. See Core Web Vitals for WordPress.

should you fold

Should You Hide Content at All?

Fold content when it makes the page easier to scan. Do not fold it hoping to game search, because nothing Google publishes says that helps.

Good uses are FAQs, specification lists and long policy notes. Weak uses are the main pitch, the price, or the one answer your page exists to give.

For example, picture a plumber in Austin. The price summary and service list stay open. The long FAQ and warranty notes sit in panels. That is example data.

Results also take time. After you fix an accordion, Google has to recrawl and reprocess the page. I cannot give a fixed number of days, and Google does not publish one. Request indexing after a fix if you want a nudge, then check back in a few weeks.

get help

When to Ask for Help

If your theme loads panels by script and you cannot tell what Google sees, a short audit usually settles it.

I check rendered HTML and mobile parity as part of my on-page SEO work. You can also run the URL Inspection steps above yourself, for free.

faq

Accordion Questions

Does Google index content inside accordions and tabs?

Yes, when the text is in the page code when it loads. Google’s mobile-first guidance says tabs and accordions are fine on mobile if the content matches desktop. Text that only arrives after a click is a different case, because Google says it does not click.

Is hidden accordion text the same as hidden text spam?

No. Google’s spam policies list expandable accordions and tabs as acceptable, because visitors can open them. Spam means hiding text from people to fool search engines, such as white text on a white background.

Do accordions hurt rankings?

Google publishes no rule that says they do. The risk comes from how you build them. Content that is missing from the page, or loaded only on click, can fail to get indexed. Whether collapsed text carries less weight is not stated by Google, so I will not claim it.

Should I put my main content in an accordion?

I would not. The main answer to the search should be open on the page. Use accordions for supporting detail like FAQs, specs and long lists. That is my opinion, and it also helps readers who skim.

How do I check that Google sees my accordion text?

Run a live test in the URL Inspection tool, open View tested page, and look at the rendered HTML for your accordion text. If the words are there, Google can see them. If they are missing, the content loads too late or on click.

Are FAQ accordions with schema a good idea?

They are a fine way to organize questions. Keep the visible answers and any FAQ markup identical, and make sure the answer text is in the page code. Google decides whether to show any rich result, so treat markup as optional.

want it checked?

Send Me a Page URL. I’ll Tell You What I’d Check.

If you are unsure whether your tabs and accordions are readable by Google, I can look at the page. My cheap SEO services start from one WhatsApp message.

sources

Sources and Last Check

// last checked 30 Nov 2026. Google can change these pages, so check the current wording before you act. The example setups are made up.