frame-title

Frames must have title attribute

Who might be affected
SR
VC

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

Add to <iframe> elements a "title" attribute with a value that gives context to its content.
1 <iframe
2 src="https://external-sourse.com"
3 title="a title for the external resource"></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