Code examples
When an iframe contains content
When an iframe does not contain content
- Add
title="Hidden intentionally"
so future developers don’t removearia-hidden="true"
Given that I am on a screen with an iframe
When I use | I see/hear |
---|---|
Arrow keys | Content within the iframe is browsed |
Tab | Interactive content in the iframe come into view |
When I use | I hear |
---|---|
Swipe | Content within the iframe is browsed |
Reads | I hear |
---|---|
Name | The title of the iframe is read if the iframe contains content |
Group | If the iframe does not contain content, the iframe is ignored |
title="Hidden intentionally"
so future developers don’t remove aria-hidden="true"