Rule: iframe must have accessible name

Rule ID Frame 2
Conformance Required
Definition iframe element must have an accessible name to support screen reader navigation.
Purpose
  • Screen readers provide a means to navigate web page content using iframe elements.
  • The accessible name of the iframe element must describe the contents of the iframe.
  • The accessible name helps users to decide whether they want to navigate to a iframe.
Conformance Required
WCAG Success Criteria

Success Criterion 2.4.1 Bypass Blocks

Rule Category Color/Content
Rule Scope Element
Techniques
  • Use the title attribute to define an accessible name for an iframe element.
  • Use the aria-label attribute to define an accessible name for an iframe element.
  • Use the aria-labelledby attribute to define an accessible name for an iframe element.
  • Accessible names should be short and describe the contents of the iframe element to help users to decide whether to navigate to the iframe.
  • For iframes with no visible content, explicitly identify the iframe as having no information for the user (e.g. title="No content").
Information Links