Frames must have a unique title attribute

How to fix the frame-title-unique accessibility rule. Images and text alternatives.

The message you saw

axe-core, axe DevTools and this checker
Frames must have a unique title attribute (rule frame-title-unique)

Lighthouse has no audit for this rule, so you’ll only see it from axe-core based tools.

What it means

Every frame (<iframe> or <frame>) needs a title that says what it contains. This message means two or more frames on the page share the same title, so they sound identical in a screen reader’s list of frames. axe-core compares titles ignoring capitals and extra spaces, so “Video” and “ video ” count as the same.

Lighthouse has no audit with this wording; the message comes from axe-core and the tools built on it.

Who is affected

Two frames have the same title, so screen-reader users can't tell them apart.

Screen-reader users choosing which frame to go into. If three videos are all called “YouTube video player”, they can’t tell which is which without entering each one.

How to find it

  1. Run the checker; it lists frames with the same title.
  2. View the page source and compare the title of each <iframe>. Embed codes from the same service often carry the same default title.

How to fix it

  1. Change each title so it names the specific content: “Video: product tour”, “Video: customer story from Anna’s bakery”.
  2. If the frames really show the same thing, ask whether you need both. If you do, say how they differ (“Map of the north entrance”, “Map of the south entrance”).

Example

Before

<iframe src="…/embed/a1" title="YouTube video player"></iframe>
<iframe src="…/embed/b2" title="YouTube video player"></iframe>

After

<iframe src="…/embed/a1" title="Video: product tour"></iframe>
<iframe src="…/embed/b2" title="Video: how to return an order"></iframe>

WCAG success criteria

When this rule fails, the page fails:

Check your fix

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. Scan again after your change: when the rule no longer appears under the problems, the fix worked.

An automated pass means this rule found nothing wrong. It doesn’t prove the page is accessible: some of what WCAG asks for needs a person to check, and the report’s manual checklist lists those steps.

Related fix guides

More detail