Iframe Elements With Equal Accessible Name Check
Description
The “Iframe Elements With Equal Accessible Name Check” evaluates whether multiple <iframe>
elements with the same accessible name (typically provided via the title
attribute) are pointing to the same source (i.e., the src
URL or embedded content).
Example outcome
I found 2 <iframe>
elements with the same accessible name pointing to the same content.
Impact
- Visual Impairments: May assume identical content based on name, resulting in confusion
- Motor Impairments: Misidentifying destinations wastes effort navigating between elements
- Cognitive Disabilities: Inconsistent naming breaks content predictability and orientation
Fixes
To address <iframe>
elements with the same accessible name pointing to different content:
- Locate the
<iframe>
elements inappropriately sharing the same accessible name. - Change one or both the
title
attributes to ensure that these are different and describe accurately the<iframe>
elements content.