Fix · Moderate · should fix soon
How to fix: iframe without title
Screen readers announce "frame" with no description. Embedded content needs a programmatic name.
- WCAG references
- 4.1.2
- Severity
- Moderate
What it looks like in the wild
Screen readers announce "frame" with no description.
The screen-reader user, keyboard user, or low-vision user encountering this issue does not get an error message. The page just stops working for them. Which is why this kind of bug rarely shows up in your error tracker; it shows up in support tickets, lawsuits, and abandoned conversions.
Why it fails WCAG
Embedded content needs a programmatic name.
Map this back to 4.1.2 when you log the bug. Auditors and procurement teams expect that mapping; "broken" is not enough context.
The wrong pattern (avoid)
<iframe src="https://www.youtube.com/embed/..."></iframe>The right pattern (copy this)
<iframe title="How to install Certvo widget — video tutorial" src="https://www.youtube.com/embed/..."></iframe>Notes from real audits
The title should describe the iframe's content, not its source — "YouTube player" is not useful.
For decorative iframes (loading pixels, analytics), use title="none" or aria-hidden="true".
Hidden iframes (display:none or visibility:hidden) do not need title attributes because they are not exposed to accessibility APIs.
Third-party embed scripts often generate iframes dynamically — inspect rendered HTML in DevTools to verify the title is present after script execution.
Related fixes
How to fix: missing alt text on images
1.1.1
How to fix: low color contrast
1.4.3, 1.4.11
How to fix: form fields without labels
3.3.2, 1.3.1, 4.1.2
How to fix: missing H1 / wrong heading order
2.4.6, 1.3.1
WCAG 4.1.2 — Name, Role, Value
For every UI component, the name, role, and state (and any value where applicable) must be
All fix recipes
Browse fixes by severity
Find every accessibility issue on your site in 60 seconds.
Free public scan. No card. AI-generated fixes for every issue we find.