frame-title
Frames must have title attribute
Description
<iframe>
s load into the current page web pages (and other resources) from an external source,
just as a web page requires an <title>
element to give an idea of the page’s content and meaning,
and the frame displays an external page so that the user can understand the <iframe>
context.
The title of frames also allows quick access to them through the quick access elements of the various screen readers.
Quick Fixes
1 <iframe2 src="https://external-source.com"3 title="A title that describes the iframe content"></iframe>
How Users Are Affected
The title
attribute provides the user with the context of the <iframe>
without requiring him to read or interpret
the <iframe>
content. Screen readers rely on the title
attribute to get an idea of the
<iframe>
's content and purpose. For the title
to fulfill its full purpose, its value must be
meaningful and describe, in a word or two, the essence of the <iframe>
.
WCAG Success criteria
This issue might cause elements to fail one or more of the following Success criteria:
2.4.1 Bypass Blocks (A) | 4.1.2 Name, Role, Value (A)
Recommended Reading
- Accessible Nmes - Evinced KB