Accessibility Wiki

The page must have a non-empty title

Rule document-title · Document, language & navigation · impact serious · Static + live

↩ Back to the rules index · WCAG cross-reference

Why it matters

The <title> is the first thing a screen reader announces and the label users see in tabs, history, and bookmarks. A missing or empty title leaves the page unidentified.

How to fix

Add a <title> element inside <head> with non-empty text that names the page and ideally the site ("Pricing — Acme"). Only the HTML <title> counts: an <h1>, an og:title meta tag, or an <svg>``<title> do not. A title set by JavaScript while the page loads is fine; one set only after the user interacts is not. A whitespace-only title counts as empty.

Example

✕ Fails
<head></head>
✓ Passes
<head><title>Pricing — Acme</title></head>

Example

✕ Fails
<svg viewBox="0 0 16 16"><title>Search icon</title></svg>
✓ Passes
<head><title>Search — Acme</title></head><body><svg viewBox="0 0 16 16"><title>Search icon</title></svg></body>

WCAG success criteria

2.4.2 Page Titled — Level A

Each page needs a descriptive <title> that identifies its topic or purpose.

Understanding 2.4.2

Standards

This rule contributes to the following standards:

WCAG A EN 301 549 Trusted Tester ACT

Standard Criteria
EN 301 549 9.2.4.2
Trusted Tester v5 12.a
ACT (WCAG SC) 2.4.2

References

Generated from the EqualWeb accessibility engine’s rule metadata. Back to top ↑