Skip to main content
Version: v6

Iframe accessible name is unclear

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

Description

We detected an iframe HTML element with an accessible name that does not appear to be clear and concise. Iframe and Frame HTML tags must identify themselves with a concise and unique title attribute or ARIA attribute equivalents. Unclear accessible names can cause confusion and can become time-consuming to interact with and understand. Ensure that the associated text is specific to the element and avoid repeatable generic terms.

How to fix

Each <iframe> element needs to have a descriptive 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 for tutorial" allowfullscreen></iframe>