AccessLens

How to fix: “Documents must have <title> element to aid in navigation”

Page has no title, explained in plain English, with the exact fix and code you can copy.

Scanner rule:
document-title
Standard:
WCAG 2.4.2 Page Titled (Level A)

What this error means

The title is the text shown in the browser tab, in your bookmarks and as the headline in Google results. A page with no title, or a placeholder such as 'Untitled' or 'Home', leaves people unsure which tab or page they are on. Screen readers read the title first when a page loads, so it is the first thing a blind visitor hears.

Who it affects

Screen reader users, people with many tabs open, people with cognitive disabilities who rely on clear orientation, and everyone who finds you through search results.

Where it usually hides

  • Landing pages and thank-you pages built with a tool that leaves the title blank
  • Every page of a site that uses the same title ('Home' or just the business name)
  • Pages whose title is still the default, such as 'New Page'

How to fix it

  1. Give every page its own title that describes that page, with the specific topic first and the business name after it.
  2. Keep titles short enough to read in full, around 50 to 60 characters.
  3. Avoid repeating the same title on every page. Each one should differ.
  4. Add the title where your platform keeps it (see the platform notes below), or in the page's <head> section if you edit HTML.

Before and after

Before

<head>
  <meta charset="utf-8">
</head>

No title element at all.

After

<head>
  <meta charset="utf-8">
  <title>Emergency Dental Care in Austin | Acme Dental</title>
</head>

A specific title: the topic first, then the business name.

On your website platform

WordPress

Edit the page and look for the SEO title field of your SEO plugin (Yoast, Rank Math and similar). Without a plugin, the page's own title becomes the browser title.

Shopify

Open the page, product or collection and look for 'Search engine listing' at the bottom. Editing it changes the page title.

Wix and Squarespace

Look for SEO settings on each page. The SEO title field controls the browser title.

Common mistakes

  • Using the same title on every page.
  • Starting with the business name, so the unique part is cut off in a narrow tab.
  • Leaving the title as a raw file name or URL.

How to check your fix

  • Re-run a scan and confirm the error is gone.
  • Hover over the browser tab. The full title appears in a tooltip.
  • Search Google for your page. The blue headline is your title.

Is this on your site?

Run a free scan and see every page and element affected. No account needed.

Questions people ask

What is the difference between the page title and the main heading?

The title appears in the browser tab and search results. The main heading (H1) is the large text at the top of the page. They can be similar but do not have to match exactly.

How long should a title be?

Around 50 to 60 characters is a good target, so it is not cut off in search results.

Keep reading

Automated scans catch only part of what WCAG covers, and fixing a scan result is not a legal guarantee of compliance. Last reviewed November 16, 2026.