Accessibility fix guide
WCAG 4.1.2 Name, Role, Value
How to fix: Frames must have a title
Every <iframe> needs a title describing its content so screen-reader users can decide whether to move into it.
The fix
Add a descriptive title attribute to every <iframe>.
Before and after
Fails
<iframe src="https://maps.example.com/embed"></iframe>
Passes
<iframe src="https://maps.example.com/embed" title="Map of our office location"></iframe>
Related fixes
Does your site have this issue?
Scan any page free against WCAG 2.2 AA and get every issue with its fix.
Scan your site free