Page Title: propos d'Olansi
August 03, 2021 05:22

iframe must have accessible name

Actions

Severity Action
no actions

Details

Rule ID Frame 2
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.
WCAG Success Criteria

2.4.1 Bypass Blocks (Level A, Primary Success Criterion)

Rule Category Styling/Content
Scope Element
Target Resources iframe elements
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").
Manual Checks
  • View the accessible names of the iframes in the page to verify that they help users identify the contents of each frame.
Informational Links

Element Results

Element Identifier Result Element Position Message

Column Definitions

Element Identifier
Information about the element associated with the result.
The information typically includes the tag name, accessible name or other information related to the rule requirements.
"Page" means that the result applied to the page. For example, the rule "One main landmark on the page" is a page level rule.
Element Position
The element position is based on the DOM order of elements in the page.
The element position maybe useful in helping to locate a specific element on the page evaluated (e.g smaller numbers are typically toward the beginning of a page and larger numbers typically toward the end of a page).
Element position 1 is the first element.
The highest element position is the last element.
Element position values for most rule/page results will not be consecutive since a rule only applies to a sub set of elements found on a page.