Documents must have <title> element to aid in navigation
How to fix the document-title accessibility rule. Images and text alternatives.
What this rule checks
Ensure each HTML document contains a non-empty <title> element
Who is affected
The page has no <title>. It is the first thing screen readers announce and what shows in browser tabs and search results.
How to fix it
Add a short, unique title that describes the page.
Example
Before
<head>…</head>After
<head><title>Pricing | Acme</title>…</head>WCAG success criteria
When this rule fails, the page fails:
- 2.4.2 Page Titled (Level A, WCAG 2.0, 2.1, 2.2)
Find it on your own page
Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools.
More detail
- Deque University’s reference for document-title (the makers of axe-core, the engine our scanner uses)
- All fix guides