Skip to content

All checks / AI search (GEO)

Heading content not wrapped in semantic container element

The page has h2 or h3 headings but no content is wrapped in semantic HTML container elements, <article>, <section>, or <aside>.

Info geo-passage-containment

In SEOCode's checks since 13 Sep 2026


Why this matters.

The page has h2 or h3 headings but no content is wrapped in semantic HTML container elements, <article>, <section>, or <aside>. Vector-based AI retrieval systems chunk content into passages for embedding and retrieval. Semantic HTML elements are the primary signal used to cleanly isolate passage boundaries. Without semantic containers, a heading and its content may be split across chunk boundaries or merged with unrelated content, reducing the relevance of the retrieved passage for citation. This is an info-level finding, the absence of semantic containers is often a pre-existing structural issue rather than a PR regression.

Runs on .html .jsx .tsx .vue .svelte .astro · Advisory checks point at an improvement. They never block a merge.


How to resolve it.

Wrap each major content section in a <section> or <article> element. Each section should contain one h2 or h3 heading and all the content that belongs to it. Example: <section><h2>How it works</h2><p>SEOCode runs on every pull request...</p></section>. Use <article> for self-contained content (blog posts, documentation pages, news articles). Use <section> for thematic groupings within a page. Use <aside> for supplementary content (sidebars, callout boxes, related links). The goal is one semantic container per logical topic, not one per paragraph.

SEOCode writes this fix for you

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.



Related checks.

What decides whether ChatGPT, Perplexity and AI Overviews can read and cite a page.

01

robots.txt blocks AI search crawlers Critical

robots.txt is blocking one or more AI crawlers: GPTBot (OpenAI's training crawler), PerplexityBot (Perplexity), ClaudeBot (Anthropic) or Google-Extended (Google Gemini; AI Overviews use Googlebot).

02

JSON-LD entity missing @id anchor (flat graph) Critical

An Organization, Person, Product, Place, or LocalBusiness entity in JSON-LD is missing an @id property.

03

Organization or Person schema missing sameAs links Warning

An Organization or Person entity in JSON-LD is missing a sameAs array linking to authoritative external sources.

04

Critical metadata only in client-side JavaScript (useEffect, onMount or onMounted) Critical

Critical SEO metadata, page title, meta description, og:image, or canonical URL, is being set inside a useEffect hook (React), onMount (Svelte) or onMounted (Vue), or inside Nuxt's <ClientOnly>, meaning it only exists after JavaScript executes on the client.

05

FAQPage schema present but no matching Q&A HTML structure Warning

The page includes FAQPage JSON-LD schema markup but has no visible Q&A structure in the HTML, no question-like headings (h2/h3 ending in '?') and no accordion or FAQ component class names.

06

Heading section opens with narrative preamble (not BLUF) Info

A major heading section (h2 or h3) opens with narrative preamble rather than a direct answer.

All 10 ai search (geo) checks


Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

Free for public repositories · no credit card