SIA-R13<iframe> elements have an accessible name

Accessibility requirements

This rule tests conformance of the following accessibility requirements:

Description

This rule checks that <iframe> elements have an accessible name.

Applicability

This rule applies to every <iframe> element in the HTML namespace where the element is included in the accessibility tree.

Expectations

  1. The element has an accessible name that is not empty.

Assumptions

This rule makes no assumptions.

Accessibility support

This rule has no known accessibility support concerns.

Examples

Passed

This <iframe> element has an accessible name that is not empty and therefore passes the rule:

<iframe title="List of Contributors" src="../page-one.html"></iframe>

Failed

This <iframe> element has no accessible name and therefore fails the rule:

<iframe src="../page-one.html"></iframe>

Inapplicable

This <iframe> element is not included in the accessibility tree and is therefore inapplicable:

<iframe style="display:none;" src="../page-one.html"></iframe>

Acknowledgments

This document includes material copied from or derived from https://act-rules.github.io/rules/cae760/. Copyright © 2021 W3C® (MIT, ERCIM, Keio, Beihang).