Interactive iframe
with role=presentation
and title
attribute
Screen reader compatibility
HTML
Nov 26, 2024
Expected Result: works in a screen reader
Actual Result: causes problems in 4 screen reader / browser combinations
Tests if role=presentation hides iframe from accessibility tree.
Code used for this test:
<iframe src='1234.html' width='400' height='100' role='presentation' title='This is frame title'> </iframe>
Reliability Trend
This graph shows reliability over time for this code in NVDA, JAWS and Voiceover. Other screen readers don't have enough historical data yet to plot trends.
Change History
Last updated: November 26, 2024
- NVDA with Chrome Stable - OK from NVDA 2023.3 to NVDA 2024.4
- NVDA with FF Stable - OK from NVDA 2023.3 to NVDA 2024.4
- JAWS with Chrome Causes problems in JAWS 2024.2409.2
- JAWS with FF Stable - OK from JAWS 2023.2311.34 to JAWS 2024.2409.2
- VoiceOver macOS OK in VoiceOver macOS 14.6
- VoiceOver iOS OK in VoiceOver iOS 17.1
Screen reader | Browser | Mode | Notes | What the user hears |
---|---|---|---|---|
NVDA 2024.4 | Chrome 131 | Reading | This is frame title, grouping, example target grouping, this is an, link, example hyperlink in the target page. | |
NVDA 2024.4 | Chrome 131 | Tabbing | This is frame title, grouping, example target grouping, this an example hyperlink, link, in the target page, example hyperlink, link. | |
NVDA 2024.4 | FF 128 | Reading | This is frame title, frame, this is an, visited link, example hyperlink, in the target page. | |
NVDA 2024.4 | FF 128 | Tabbing | This is frame title, frame, example hyperlink, visited link. | |
NVDA 2024.4 | Edge 131 | Reading | This is frame title, grouping, example target grouping, this is an, link, example hyperlink in the target page. | |
NVDA 2024.4 | Edge 131 | Tabbing | This is frame title, grouping, example target grouping, this an example hyperlink, link, in the target page, example hyperlink, link. | |
NVDA 2023.3 | Chrome 121 | Reading | This is frame title, grouping, example target grouping, this is an, link, example hyperlink in the target page. | |
NVDA 2023.3 | Chrome 121 | Tabbing | This is frame title, grouping, example target grouping, this an example hyperlink, link, in the target page, example hyperlink, link. | |
NVDA 2023.3 | FF 115 | Reading | This is frame title, frame, this is an, visited link, example hyperlink, in the target page. | |
NVDA 2023.3 | FF 115 | Tabbing | This is frame title, frame, example hyperlink, visited link. | |
NVDA 2023.3 | Edge 121 | Reading | This is frame title, grouping, example target grouping, this is an, link, example hyperlink in the target page. | |
NVDA 2023.3 | Edge 121 | Tabbing | This is frame title, grouping, example target grouping, this an example hyperlink, link, in the target page, example hyperlink, link. | |
JAWS 2024.2409.2 | Chrome 131 | Reading | Group start, example target. This is an. Link, example hyperlink. In the target page. | |
JAWS 2024.2409.2 | Chrome 131 | Tabbing | Reads URL of iframe document | This is frame title, group, example target, group, slash 1234 dot html, example hyperlink, link |
JAWS 2024.2409.2 | FF 128 | Reading | role=presentation makes frame seamless | This is an. Link, example hyperlink. In the target page. |
JAWS 2024.2409.2 | FF 128 | Tabbing | This is frame title, frame, example hyperlink, link. | |
JAWS 2024.2409.2 | Edge 131 | Reading | Group start, example target. This is an. Link, example hyperlink. In the target page. | |
JAWS 2024.2409.2 | Edge 131 | Tabbing | Reads link as group role instead of link role, and reads URL of iframe document | This is frame title, group, example target, group, slash 1234 dot html, group |
JAWS 2023.2311.34 | Chrome 121 | Reading | Group start, example target. This is an. Link, example hyperlink. In the target page. | |
JAWS 2023.2311.34 | Chrome 121 | Tabbing | Reads link as group role instead of link role, and reads URL of iframe document | This is frame title, group, example target, group, slash 1234 dot html, group |
JAWS 2023.2311.34 | FF 115 | Reading | role=presentation makes frame seamless | This is an. Link, example hyperlink. In the target page. |
JAWS 2023.2311.34 | FF 115 | Tabbing | This is frame title, frame, this is frame title. Example hyperlink, link. | |
JAWS 2023.2311.34 | Edge 121 | Reading | Group start, example target. This is an. Link, example hyperlink. In the target page. | |
JAWS 2023.2311.34 | Edge 121 | Tabbing | Reads link as group role instead of link role, and reads URL of iframe document | This is frame title, group, example target, group, slash 1234 dot html, group |
VoiceOver macOS 14.6 | Safari 17.6 | Reading | role=presentation makes frame seamless | This is an. Example hyperlink, link. In the target page. |
VoiceOver macOS 14.6 | Safari 17.6 | Tabbing | Link, example hyperlink | |
VoiceOver iOS 17.1 | Safari iOS 17.1 | Touch | This is an. Example hyperlink, link. In the target page. |
Test notes
All tests were carried out with screen reader factory settings. JAWS in particular has a wide variety of settings controlling exactly what gets spoken.
Screen readers allow users to interact in different modes, and can produce very different results in each mode. The modes used in these tests are:
- Reading Content read using the “read next” command in a screen reader
- Tabbing Content read using the “tab” key in a screen reader
- Heading Content read using the “next heading” key in a screen reader
- Touch Content read when touching an area of screen on a mobile device
In the “What the user hears” column:
- Commas represent short pauses in screen reader voicing
- Full Stops represent places where voicing stops, and the “read next” or “tab” or “next heading” command is pressed again
- Ellipsis … represent a long pause in voicing
- (Brackets) represent voicing that requires a keystroke to hear