Frames must have an accessible name
How to fix the frame-title accessibility rule. Images and text alternatives.
What this rule checks
Ensure <iframe> and <frame> elements have an accessible name
Who is affected
This iframe has no title, so screen-reader users don't know what the embedded content is (a map, a video, a form…).
How to fix it
Add a title attribute describing the iframe's content.
Example
Before
<iframe src="https://www.youtube.com/embed/…"></iframe>After
<iframe src="https://www.youtube.com/embed/…" title="Product demo video"></iframe>WCAG success criteria
When this rule fails, the page fails:
- 4.1.2 Name, Role, Value (Level A, WCAG 2.0, 2.1, 2.2)
Find it on your own page
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.
More detail
- Deque University’s reference for frame-title (the makers of axe-core, the engine our scanner uses)
- All fix guides