AI Visibility pillar / check table-of-contents
Table of contents: can a reader jump to the section of a long page they need?
On long pages with several sections, we check for in-page links (a table of contents) that jump to each section. Google has said its results can link straight to a section of a well-structured page, and readers of a long page use the links to skip to their answer. We do not ask short pages for a table of contents.
By Shimon Alex Carroll, Founder and CEO, Own The Climb · Last updated
This is how we check it
On long pages, we check for a short list of links that jumps to each section.
- A page is long when it has more than 800 words and at least four section headings.
- It has a table of contents when it has at least three links to sections on the same page.
- We skip this check on short pages.
Our reasoning behind this
A list of section links lets a reader go straight to what they need. Google has said it can show links that jump to parts of a larger page when the page is broken into sections with descriptive anchors.
How we would fix it on your site
- Give each main section heading an id made of words, such as id="how-much-it-costs".
- After the opening paragraph, add a short list of links to those ids using the heading text.
Once your change is live, run the audit again and review the new findings alongside the pages it covered.
How to make the change on your platform
| Platform | What to do |
|---|---|
| WordPress | Give each Heading block an HTML anchor (Advanced settings), then add a list of links to them, or use a table of contents block from a plugin such as Yoast SEO or Rank Math. |
| Shopify, Squarespace and Wix | Where the editor lets you add an anchor to a heading, add one per section and a list of links at the top; otherwise use a table of contents block if your theme or an app provides one. |
| Next.js | Generate heading ids from the heading text (rehype-slug for MDX) and render the list of links from the same headings, so they always match. |
What we want you to review
- Give each destination heading the id used by its table-of-contents link.
- Use descriptive section anchors when a label such as section-2 would obscure the destination.
- Check whether a short page needs a table of contents before adding one that pushes its opening text down.
The exact rules our audit applies
We wrote this part for your developer or your SEO specialist. It sets out the inputs, scoring rules and confidence limits we publish for this check, together with the full explanation of how we would fix a finding.
The inputs we describe for this check
Two counts from the HTML your server sends. A page is long when it has more than 800 words and at least four h2 or h3 headings. It has a table of contents when it contains at least three links to a fragment on the same page (href="#section-name").
A long page without one fails. A short page is shown as not applicable. A long page with more headings than its text needs (the heading proportion check) is also not applicable, because a table of contents would only list card titles; the fix there is fewer headings.
We do not check that the links point at real headings, and a table of contents built by JavaScript is not seen.
Our full reasoning
Google wrote on its Search Central Blog on 2009-09-25 that it can show links in a result that "allow users to jump directly to parts of a larger page", and that to "increase the chances" of them, long, multi-topic pages should be "broken into distinct logical sections", each section should have "an associated anchor with a descriptive name", and the page should include "a 'table of contents' which links to the individual anchors".
Google's 2026 guide to generative AI search adds that "Google systems are able to understand the nuance of multiple topics on a page and show the relevant piece to users", and that you do not need to write in a special way for AI search, so a table of contents is not an AI requirement.
It is a reader feature first: on a long page it lets someone see what the page covers and go straight to their part. We keep it as an editorial guideline for long pages only.
How we score what we find
Editorial guideline, on every long page we read. A long page with fewer than three in-page links is a LOW AI visibility finding at LOW confidence. A long page with them passes.
Short and over-headed pages are not applicable and do not count toward the score. Together with the other writing findings it can lower the pillar only up to a fixed limit.
How sure we are of each result
LOW. Three in-page links can be something other than a table of contents (a "back to top" link and two footnotes), and a long page may serve its readers well without one.
How to fix it, in full
On long guides, articles and service pages with several sections, give each h2 (and h3 if needed) an id made of descriptive words, such as id="how-much-it-costs". Near the top of the page, after the opening paragraph, add a short list of links to those ids using the heading text. Check that each link jumps to its section, then re-run the audit.
The sources we rely on
- Google Search Central Blog, Using named anchors to identify sections on your pages (published 2009-09-25; accessed 2026-10-26)
Google Search Central
- Google Search Central, Optimizing for generative AI search (last updated 2026-07-10; accessed 2026-10-26)
Google Search Central
- Bing Webmaster Guidelines (revision of 2026-02-27; accessed 2026-10-07)
Bing Webmaster Tools
What we have changed on this page
- · We rewrote the explanation in plain words, put the full rules one click down and corrected the full rules where needed to describe only what is built today.
- · Initial publication. The finding no longer says a table of contents "improves passage discovery for AI answer engines", which no source supports, and a short or over-headed page is shown as not applicable instead of passing.