Inappropriate Iframe Negative Tabindex Attribute Check

RuleSets of AccessMonitor - the validator of web accessibility practices

Inappropriate Iframe Negative Tabindex Attribute Check

Description

The “Inappropriate Iframe Negative Tabindex Attribute Check” evaluates whether any <iframe> element with a tabindex="-1" attribute (which removes it from the tab order) contains an interactive element.

Example outcome

I identified 1 <iframe> element with a negative tabindex that includes interactive elements.

Impact

Fixes

To address <iframe> elements with an inappropriate negative tabindex attribute:

  1. Locate the <iframe> element with an inappropriate negative tabindex attribute.
  2. Remove the negative tabindex from the element.

Resources