Frames on a page must have unique titles

When a page has several `<iframe>` or `<frame>` elements, each one needs a different title, so screen reader users can tell the embedded pieces apart and pick the one they want.

Rule IDframe-title-unique
ImpactSerious
Success criterion 4.1.2 Name, Role, Value · A
StandardsWCAG 2.0 · WCAG 2.1 · WCAG 2.2 · Section 508 · EN 301 549
Readabler fix Needs a change in the website’s code

Example

Before
<iframe src="https://maps.example.com/leeds" title="Map"></iframe>
<iframe src="https://maps.example.com/york" title="Map"></iframe>

A screen reader lists two frames both called “Map”, with no clue which store each shows.

After
<iframe src="https://maps.example.com/leeds" title="Map of our Leeds store"></iframe>
<iframe src="https://maps.example.com/york" title="Map of our York store"></iframe>

A screen reader lists “Map of our Leeds store” and “Map of our York store”.

Why it matters

Screen readers let users jump from frame to frame and list all frames on a page. The frame title is the only label in that list. When two frames share a title, blind users cannot tell which is which without entering each one and exploring its content, which is slow and confusing.

The problem grows with pages that embed several videos, maps or third-party widgets, such as a store locator, a product page with two demo videos, or a dashboard built from embedded reports. Voice control users who target frames by name face the same ambiguity.

How to fix it

Give every frame a title that describes its own content, and make it different from the others on the page.

Add what makes each frame different. A location, a topic or a step usually does it:

<iframe src="/embed/video/assembly" title="Video: assembling the Oslo bed"></iframe>
<iframe src="/embed/video/care" title="Video: caring for oak furniture"></iframe>

Embeds generated by a plugin or CMS. Many video and map plugins set a fixed title such as “YouTube video player”. Override it in the plugin settings or in the embed code, using the video's own name.

The same content embedded twice. If two frames really show the same resource, an identical title is acceptable. But ask whether the page needs the duplicate at all.

Hidden or decorative frames. A frame used only for tracking or technical purposes should be hidden from assistive technology rather than given a title:

<iframe src="/sync.html" aria-hidden="true" tabindex="-1"></iframe>

Checklist

  1. Give each frame a title that describes its content.
  2. Make every frame title on the page different.
  3. Override generic titles set by video and map embeds.
  4. Hide purely technical frames from assistive technology.

How the check works

The check compares the title attributes of all <iframe> and <frame> elements that have a non-empty title. Titles are compared after trimming whitespace and ignoring case. A frame fails when another frame on the page has the same title. Because two frames showing the same content may legitimately share a title, a failure needs a quick human review.

Resources

Updated October 27, 2026