GEO-012 · Title, meta description and html lang are present
The document title, description and language are the baseline metadata every consumer of the page reads.
- Evidence class
- E2
- Weight
- 2
- Subject
- each route group
- Scope
- URL/repo
- Default severity
- medium
- Lifecycle
- stable
- Platforms
- Any web stack
Sub-checks
A subject fails if any evaluated sub-check fails, and passes only when every applicable sub-check ran and passed. url sub-checks need a URL; both can also run from source.
| Sub-check | Scope | Checks that |
|---|---|---|
title | both | a non-empty <title> |
description | both | a non-empty meta description |
lang | both | a non-empty lang on <html> |
Remediation
Give every route a specific title and description, and set lang on the root <html>.
Fix class: safe literal lang / editorial copy
S2Add the configured lang to the literal root <html> — safe, requires V2
Evidence
Platform policies and standards are cited as such; anything else is labelled guidance. These links were carried forward from the specification and should be rechecked before quoting them as current policy.
- WHATWG HTML: the lang attribute (standard)
- Google: influencing title links (guidance)
- Google: control your snippets (guidance)
Run it
npx geopilot explain GEO-012
npx geopilot scan . --rule GEO-012