| Title | Iframe Negative Tabindex Attribute Check |
|---|---|
| id | iframe_04 |
| type | true |
| elem | all |
| test | iframeNegTabIndex |
| score | 10 |
| level | A |
| trust | 1 |
| ref | G202 |
| scs | 2.1.1 |
| dis | 43353 |
| result | passed |
The "Iframe Negative Tabindex Attribute Check" evaluates whether all <iframe> elements with a tabindex="-1" attribute (which removes it from the tab order) do not contain interactive elements.
I noticed that there are no interactive elements inside <iframe> elements with a negative tabindex attribute.
- Visual Impairments: Screen readers may not reach the content if not programmatically reachable.
- Motor Impairments: Users can't tab into the iframe to access forms, buttons, etc.
- Cognitive Disabilities: Individuals with cognitive disabilities can’t complete tasks (like submitting a form) if navigation is blocked.
To address <iframe> elements with an inappropriate negative tabindex attribute:
- Locate the
<iframe>element with an inappropriate negativetabindexattribute. - Remove the negative
tabindexfrom the element.