Skip to content
Learn Measure Blog Case studies About
On this page
  • How the Lighthouse frame title audit fails
  • How to add titles to frames and iframes
  • Tips for creating descriptive frame titles
  • Resources

<frame> or <iframe> elements do not have a title

May 2, 2019 — Updated Sep 19, 2019
Available in: Español, Português, English
Appears in: Accessibility audits
On this page
  • How the Lighthouse frame title audit fails
  • How to add titles to frames and iframes
  • Tips for creating descriptive frame titles
  • Resources

Users of screen readers and other assistive technologies rely on frame titles to describe the contents of frames. Navigating through frames and inline frames can quickly become difficult and confusing for assistive technology users if the frames are not marked with a title attribute.

How the Lighthouse frame title audit fails #

Lighthouse flags <frame> and <iframe> elements that don't have titles:

Lighthouse audit showing frame or iframe doesn't have a title element
The Lighthouse Accessibility score is a weighted average of all the accessibility audits. See the Lighthouse accessibility scoring post for more information.

How to add titles to frames and iframes #

Provide unique and descriptive title attributes for all frame and iframe elements.

Additionally, best practice is to give the enclosed document a title element with content identical to the title attribute. For example:

<iframe title="My Daily Marathon Tracker" src="https://www.mydailymarathontracker.com/"></iframe>

Tips for creating descriptive frame titles #

  • As previously mentioned, give the enclosed document a title element with content identical to title attribute.
  • Replace placeholder titles such as "untitled frame" with a more appropriate phrase.
  • Make each title unique. Don't duplicate titles, even if they are similar.

Learn more in Write descriptive titles, descriptions, and link text for every page.

Resources #

  • Source code for <frame> or <iframe> elements do not have a title audit
  • Label documents and frames
  • Frames must have title attribute (Deque University)
Last updated: Sep 19, 2019 — Improve article
Return to all articles
Share
subscribe

Contribute

  • File a bug
  • View source

Related content

  • developer.chrome.com
  • Chrome updates
  • Web Fundamentals
  • Case studies
  • Podcasts
  • Shows

Connect

  • Twitter
  • YouTube
  • Google Developers
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms & Privacy
  • Community Guidelines

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies.