Skip to main content
Version: v6

Iframe missing accessible name

Iframe missing accessible name — rule summary
FieldValue
Rule codeIframe_Name_Missing
WCAG conformance levelA
WCAG success criterion4.1.2 Name, Role, Value
Must be fixed at sourceNo

Description​

We detected an iframe HTML element without an accessible name provided through the title attribute. Iframe and Frame HTML tags must identify themselves with a concise and unique title attribute or ARIA attribute equivalents. If accessible names are missing from an Iframe or Frame element, their purpose and functionality is unclear.

How to fix​

Each <iframe> element needs to have a title attribute. The title description describes the contents of the frame for screen reader users.

<iframe width="560" height="315" src="https://www.youtube.com/embed/example123" title="YouTube video player" allowfullscreen></iframe>