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:

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