Skip to main content
WCAGrules
Quick navigation

Page Titled

A page needs a title that describes its topic or its purpose. Either one satisfies the rule, and that single sentence is the whole normative requirement. Two things people treat as requirements are not. Titles do not have to be unique across a site, though repeated titles are usually a symptom of vague ones, and vagueness is what actually fails. And the specific part does not have to come first. Putting it first helps, because a truncated tab and a screen reader both start at the beginning, and W3C's own examples run both ways. Where a page is a document or an application, its own name is enough. This rule also reaches past HTML, so a PDF served from your site needs a real title recorded inside the file rather than a filename.

Why it matters

The title is how a page identifies itself before anybody reads a word of it. It is what a browser tab shows, what a bookmark keeps, what a search result prints, and what tells somebody where they have landed without making them work it out from the content. W3C names four groups it helps, and the fourth is the one nobody expects. People with severe mobility impairments who work by audio while moving between pages depend on the title to know they arrived somewhere new. Ten tabs all named after the same brand are ten identical doors. A title that says which one it is saves everybody the guess, and the research W3C points to behind this rule is a study of watching people work with screen readers.

Who this rule protects

This affects screen-reader users orienting themselves on arrival, people with visual disabilities telling several open pages apart, people with cognitive disabilities, limited short-term memory or reading disabilities, people with severe mobility impairments who work by audio while moving between pages, and everyone scanning a page of search results.

How to check it yourself

  1. Read the browser tab on every important page and ask whether the words describe that page's topic or its purpose. That is the whole test.
  2. Open several pages in separate tabs and try to tell them apart from the titles alone.
  3. Move around a single-page app and watch the tab. If the title holds still while the view changes, every view after the first is an untitled page.
  4. Open every PDF on the site and read its document properties, not its filename. A PDF with no title recorded inside it fails this rule even when the file is named perfectly.
  5. Compare the link somebody clicked with the title of the page it opened. Keeping the two close is what confirms to a reader that the click worked.

Failures we see most often

  • Every page carrying the same title, such as 'Home' or the brand name alone, so nothing tells one from the next.
  • A single-page app whose title is set once at boot and never changes as the user moves between views.
  • Keywords stuffed ahead of the page name, which buries the useful part exactly where a narrow tab cuts it off.
  • A PDF published with an empty title entry, so assistive technology reads out the filename instead.

Who this one is for

Read from this rule's own note above, so the grouping and the note cannot disagree.

How this one is tested

We list 2 ACT rules against 2.4.2. Each one defines exactly what a checker looks at, which is how automated tools decide what to flag. Each one also checks a slice, so passing every rule here is not the same as meeting the criterion, and a rule can be proposed rather than approved or need a person to finish it. The note beside each says which.

How to fix it

  • Generate the title from the page's own data rather than writing it by hand, and put the page's name at the front. 'Order your audit | WCAGrules' survives a narrow tab. 'WCAGrules | Order your audit' does not.
  • In a single-page app, set the title on every route change. Most frameworks carry per-route metadata for exactly this.
  • Set the title inside every PDF you publish, in the document properties, and tell the file to display that title rather than its filename.
  • Keep the link text and the destination title close to each other. It costs nothing, and it tells the reader they arrived where they aimed.
Step-by-step fix guides (5)

Passes vs. fails

A general illustration of the pattern rather than a test of 2.4.2. Passes: each page names itself. Fails: identical, meaningless titles.

Passes

Tabs read 'Order your audit | WCAGrules' and '1.4.3 Contrast | WCAGrules', so every tab names itself.

Fails

Five open tabs all read 'WCAGrules', and none of them says which one holds the checkout.

In audits and lawsuits

This one is checkable in seconds, and single-page apps fail it constantly, because the router changes the view and nothing changes the title. We check the title on every page and on every state change the app performs. PDFs are the other recurring finding. Half the documented way to satisfy this rule is a PDF technique, and a PDF with an empty title entry shows its filename instead, which is how a reader ends up hearing a filename full of digits instead of a page title. One thing that is not a finding on its own. Two pages sharing a title conform where that title describes them both, so a repeated title is a prompt to look rather than a failure.

Go somewhere useful

Find tools, resources and your workspace.

29 destinations