Iframes which present user-readable content require a title or description.
WCAG 2 criterion | 4.1.2 Name, Role, Value (A) |
---|---|
Category | Multimedia |
WCAG 2 criterion
4.1.2 Name, Role, Value (Level A)
Tools and requirements
- Siteimprove helps (Policy)
Test procedure
Identify all <iframe>
content on the page. There is a policy set up in Siteimprove to help with this called "Find iframes."
- If the
<iframe>
contains readable or viewable content (i.e., is not a container for analytics scripts that the user won't interact with), he<iframe>
must have atitle
attribute with a short description of the contents.- If the content is video or audio content, the title should represent the title of the media.
- Otherwise, the title should represent the embedded content. (The page title of whatever is embedded for example)