Axe rule guides
document-titleserious

Fix document-title axe errors

The document has no useful title, making browser tabs, history, and assistive navigation harder to understand.

Affected users

Screen reader users, keyboard users, and anyone switching between tabs or history entries.

WCAG mapping

2.4.2 Page Titled (A)

Detection

wcagc reports missing, empty, or unhelpful document titles detected by axe-core.

Failing markup

<head><title></title></head>

Fixed code

<head><title>Pricing - Example SaaS</title></head>

Sources and standards

FAQ

Should every route have a unique title?

Yes. Titles should be concise, distinct, and describe the specific page or task.

Does this matter for SPAs?

Yes. Client-side route changes should also update the document title.

Scan the rest of the page

One rule rarely travels alone

Run a page through wcagc to find this rule, related WCAG issues, affected selectors, and manual checks that automation cannot judge.

Scan a page