Autopilotвід Internet Solutions

Content in Tabs and Accordions: Does Search Index It?

27 вересня 2026 р.Час читання: 8 хвSEO та контент-маркетинг
Content in Tabs and Accordions: Does Search Index It?

Short answer: text inside tabs, accordions and “read more” toggles is generally indexed by major search engines as long as it is present in the page’s HTML when it loads, and Google has said such content is treated like visible content on mobile-first indexing. The risk comes when the hidden text is only fetched from the server after a click, because crawlers do not click. For blog posts, keep the main answer and key sections visible, use collapsible elements for secondary detail such as FAQs, and prefer the native HTML details element.

Collapsible content is everywhere on modern websites. FAQ sections open one question at a time, product pages hide specifications in tabs, and long articles sometimes show only a preview with a “read more” button. It keeps pages tidy, especially on phones. It also raises a question every site owner eventually asks: if the text is hidden, does it still count for search?

The answer used to be complicated. Today it is mostly reassuring, with a few important exceptions. This guide explains how search engines handle hidden content, when collapsing text is a good idea on a blog and how to implement it without creating problems.

How the question used to be answered

In the era when search engines indexed mainly the desktop version of pages, content hidden behind tabs or accordions was often treated as less important than content visible on load. The reasoning was sensible: if the author hid it, it probably was not the main point of the page. Some SEO advice from that period recommended never hiding important text.

Mobile-first indexing changed this. On phones, collapsing content is often the only practical way to present long pages. Google has stated that content hidden for user experience reasons on mobile, such as in accordions or tabs, is treated normally and receives full weight, as long as it is in the page. That statement is the basis for current best practice.

What makes hidden content indexable

The key question is not whether the content is visible, but whether it is in the page when search engines render it.

You can check which case applies by viewing the page source (not just the inspector, which shows the live page after interactions) and searching for a sentence from the hidden section. If it is in the source or in the rendered HTML shown by Search Console’s URL inspection tool, it is available to be indexed.

When collapsing content helps readers

Hidden content is not good or bad in itself. It helps when it lets readers get to what they need faster without losing access to detail.

When hiding content works against you

For blog articles, hiding the main content usually hurts more than it helps.

Hiding the answer. If the core answer to the article’s question sits in a collapsed section, readers who arrive from search have to hunt for it. Many will not bother. Keep the main answer and the key explanation visible.

“Read more” truncation of the whole article. Showing a short preview and hiding the rest behind a button adds friction for no real benefit on a blog post. Readers came for the article.

Hiding text to stuff keywords. Collapsed sections full of repetitive keyword text are a spam pattern. Hidden text meant to manipulate search rather than help users is against search engine spam policies.

Snippets and highlights. Search engines can link to specific text on a page and sometimes highlight it. When that text is inside a closed accordion, the visitor may land on the page and not see the highlighted passage unless the page opens the section automatically. It is one more reason to keep important passages open.

Building accordions and tabs the right way

The implementation matters for search, accessibility and maintenance.

  1. Prefer the native details and summary elements. HTML’s details element creates a collapsible section with a clickable summary, without any JavaScript. The content is in the HTML, it is keyboard accessible by default, and modern browsers can even open it automatically when a user searches the page for text inside it.
  2. If you use JavaScript components, keep the content in the HTML. The script should only toggle visibility, not fetch the text on demand.
  3. Use proper headings inside or around the toggles where the sections are substantial, so the page outline still makes sense.
  4. Make toggles accessible. Custom components need the right roles and states, such as aria-expanded, so screen reader users know a section can be opened and whether it is open.
  5. Avoid nesting toggles inside toggles. Deeply nested collapsible content is hard to use and hard to maintain.
  6. Consider opening the first item by default in an FAQ or tab set, so readers immediately see how it works and some content is visible on load.

A practical rule for blog articles

If you want a simple rule to apply across a blog, ask one question for every block of content: would a reader who arrived from search for this article’s main question be disappointed if they had to click to see it? If yes, keep it open. If no, it may be a candidate for collapsing.

Applied to a typical how-to or explainer article, that usually means:

This keeps the article honest and easy to read, and it means nothing important depends on how a particular crawler or browser handles hidden elements. It also makes the page more robust when themes change, because a redesign that alters how toggles work will not hide the core of your content.

FAQ sections: open or collapsed?

FAQ sections at the end of blog posts are a special case, because they are often marked up with FAQ structured data and are a natural source of short answers for search and AI systems. Both open and collapsed FAQs can work:

Whichever you choose, the questions and answers in any FAQPage structured data should match what users can see or reveal on the page. Structured data describing content that is not on the page at all is misleading.

Checking your own pages

How AI Blog Autopilot handles this

Articles from AI Blog Autopilot are published into WordPress as plain HTML: the answer, sections and FAQ are all in the page, with FAQ structured data that matches the visible questions. Nothing is loaded on click. If your theme styles FAQ sections as accordions, the text remains in the HTML either way, which keeps it available to search engines and readers. See how AI Blog Autopilot works.

Related reading

The bottom line

Content in tabs, accordions and toggles is generally indexed when it is part of the page’s HTML, and it receives normal weight under mobile-first indexing. What is not indexed is text that only loads after a click. On a blog, keep the main answer and key sections visible, use collapsible elements for secondary detail and long FAQs, build them with the native details element or accessible components, and check the source to confirm the text is really there.

FAQ

Does Google index text inside accordions?

Yes, generally, when the text is present in the page’s HTML on load. Google has said that content hidden for user experience reasons on mobile, such as in accordions, is treated like visible content.

Is hidden content given less weight in rankings?

Under mobile-first indexing, content collapsed for usability is treated normally. However, readers may miss hidden content, so keeping the most important information visible is still better for the page overall.

What about content that loads when a tab is clicked?

If the text is fetched from the server only after a click, crawlers are unlikely to see it, because they do not click. Load all tab content with the page and use the tabs only to show and hide it.

Should the FAQ at the end of a post be collapsed?

Either works if the answers are in the HTML and match any FAQ structured data. For a short FAQ of four to six questions, leaving answers open is simplest for readers and search engines.

Is the details element good for SEO?

It is a sound choice. The content is in the HTML, it works without JavaScript and it is keyboard accessible by default. It does not boost rankings, but it avoids the problems of poorly built toggles.

#Article structure#Indexing#Technical seo
Ваш блог теж міг би писати себе сам.Ваш блог пише себе сам. Соцмережі публікуються самі.
Почати безкоштовно

Ще з блогу

Усі статті →
Internet Solutions

Інші продукти нашої команди

Створено Internet Solutions. Спробуйте й інші наші продукти — кожен заощаджує час по-своєму.

internet-solutions.net ↗
01Автопостинг у соцмережі
PostRSS

Нові записи з вашого RSS-фіду автоматично публікуються у Facebook, X, LinkedIn, Telegram та ще 60+ мережах.

Безкоштовний тариф · з 2014Перейти →
02AI-чат для сайтів
Talkmio

Ваш сайт відповідає відвідувачам 24/7 на основі вашого контенту та їхньою мовою.

Безкоштовний тариф · без карткиПерейти →
03AI-асистент
Ask Mio

Чат, код, дизайн, тексти та дослідження. Mio добирає найкращу модель для кожного завдання.

Безкоштовний тарифПерейти →
04Перевірка здоров’я сайту
Site AI Audit

SEO, швидкість, SSL, безпека та налаштування пошти в одному звіті — за порядком, що виправляти першим.

Перший аудит безкоштовноПерейти →
05Глибокий SEO-аудит
Site SEO AI Audit

Повне SEO-сканування за 7 напрямами, зокрема видимість в AI-пошуку, з виправленнями за силою впливу.

Перший аудит безкоштовноПерейти →
06RSS і товарні фіди
RSS Feed Creator

Створюйте RSS з будь-якої вебсторінки, а також товарні фіди для Google і Meta, що оновлюються самі.

Безкоштовний тарифПерейти →
07Розробка сайтів і SEO
Internet Solutions

Сайти, інтернет-магазини та індивідуальні системи — проєктує, створює й супроводжує наша команда.

З 2011Перейти →
AI Blog Autopilot
Огляд конфіденційності

Цей сайт використовує cookie, щоб ми могли забезпечити вам найкращий користувацький досвід. Інформація cookie зберігається у вашому браузері й виконує такі функції, як розпізнавання вас під час повернення на сайт, а також допомагає нашій команді зрозуміти, які розділи сайту вам найцікавіші та найкорисніші.