Skip to content
Performance & Accessibility

A Practical Guide to Iframe Titles and Embedded Content

Labeling embedded frames so assistive technology users know what each one contains.

MediaScaleUp Editorial Team 2 min read 14 views
A Practical Guide to Iframe Titles and Embedded Content

The key figures

Title attribute
gives an iframe an accessible name
Hidden frames
tracking iframes should be hidden from assistive technology
Keyboard
focus moves into iframes and must be able to leave
Performance
iframes can be lazy loaded

Why this is worth getting right

Unlabeled iframes are announced as anonymous frames, leaving screen reader users to guess what is inside.

Do this, not that

Do

  • Title every meaningful iframe
  • Hide invisible utility iframes from assistive technology
  • Check keyboard entry and exit
  • Lazy load offscreen iframes
  • Audit third-party embeds for accessibility

Don’t

  • Generic titles such as iframe
  • Untitled embedded videos and maps
  • Focus trapped inside embeds
  • Assuming third-party embeds are accessible

When to bring in help

Our advice Bring in help when pages rely on many third-party embeds.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on Performance & Accessibility work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

MediaScaleUp Editorial Team

Articles here are researched, written and checked by the MediaScaleUp studio team before they are published, and dated when they are reviewed.

Keep reading

More in Performance & Accessibility