Interactive iframe with role=presentation and negative tabindex and no accessible name Screen reader compatibility

HTML
Nov 26, 2024

Expected Result: causes problems in some screen readers

Actual Result: causes problems in 20 screen reader / browser combinations

For expected failures, the results show which AT combos the failures affect. Results are recorded from the user's viewpoint, so describe the user impact of authoring errors.

Tests if role=presentation with tabindex=-1 affects accessibility tree. Tabindex makes the iframe click focusable which should trigger presentational role conflict .

Code used for this test:


		<iframe src='1234.html' width='400' height='100' role='presentation' tabindex='-1'> </iframe>
	

Change History

Last updated: November 26, 2024

  • Bad NVDA with Chrome Causes problems in NVDA 2024.4
  • Bad NVDA with FF Causes problems in NVDA 2024.4
  • Bad JAWS with Chrome Causes problems in JAWS 2024.2409.2
  • Bad JAWS with FF Causes problems in JAWS 2024.2409.2
  • Bad VoiceOver macOS Causes problems in VoiceOver macOS 14.6
  • Good VoiceOver iOS Stable - OK from VoiceOver iOS 16.6 to VoiceOver iOS 17.7
Screen readerBrowserModeNotesWhat the user hears
OK NVDA 2024.4Chrome 131 Reading Example target grouping, this is a link, example hyperlink, in the target page.
Fail NVDA 2024.4Chrome 131 Tabbing Skips over focusable link in iframe
OK NVDA 2024.4FF 128 Reading role=presentation makes frame seamless Frame, this is a link, example hyperlink, in the target page.
Fail NVDA 2024.4FF 128 Tabbing Skips over focusable link in iframe
OK NVDA 2024.4Edge 131 Reading Reads as group role instead of frame role, and reads title element of iframe document Example target grouping, this is a link, example hyperlink, in the target page
Fail NVDA 2024.4Edge 131 Tabbing Skips over focusable link in iframe
OK NVDA 2023.3Chrome 120 Reading Example target grouping, this is a link, example hyperlink, in the target page.
Fail NVDA 2023.3Chrome 120 Tabbing Skips over focusable link in iframe
OK NVDA 2023.3FF 115 Reading role=presentation makes frame seamless Frame, this is a link, example hyperlink, in the target page.
Fail NVDA 2023.3FF 115 Tabbing Skips over focusable link in iframe
OK NVDA 2023.3Edge 120 Reading Reads as group role instead of frame role, and reads title element of iframe document Example target grouping, this is a link, example hyperlink, in the target page
Fail NVDA 2023.3Edge 120 Tabbing Skips over focusable link in iframe
OK NVDA 2022.2Chrome 118 Reading Example target grouping, this is a link, example hyperlink, in the target page.
Fail NVDA 2022.2Chrome 118 Tabbing Skips over focusable link in iframe
OK NVDA 2022.2FF 102 Reading role=presentation makes frame seamless This is a link, example hyperlink, in the target page.
Fail NVDA 2022.2FF 102 Tabbing Skips over focusable link in iframe
OK NVDA 2022.2Edge 120 Reading Reads as group role instead of frame role, and reads title element of iframe document Example target grouping, this is a link, example hyperlink, in the target page
Fail NVDA 2022.2Edge 120 Tabbing Skips over focusable link in iframe
OK JAWS 2024.2409.2Chrome 131 Reading Group start, example target. This is an. Link, example hyperlink. In the target page.
Fail JAWS 2024.2409.2Chrome 131 Tabbing Skips over focusable link in iframe
OK JAWS 2024.2409.2FF 128 Reading role=presentation makes frame seamless This is an. Link, example hyperlink. In the target page.
Fail JAWS 2024.2409.2FF 128 Tabbing Skips over focusable link in iframe
OK JAWS 2024.2409.2Edge 131 Reading Group start, example target. This is an. Link, example hyperlink. In the target page.
Fail JAWS 2024.2409.2Edge 131 Tabbing Skips over focusable link in iframe
OK JAWS 2023.2311.34Chrome 120 Reading Group start, example target. This is an. Link, example hyperlink. In the target page.
Fail JAWS 2023.2311.34Chrome 120 Tabbing Skips over focusable link in iframe
OK JAWS 2023.2311.34FF 115 Reading role=presentation makes frame seamless This is an. Link, example hyperlink. In the target page.
Fail JAWS 2023.2311.34FF 115 Tabbing Skips over focusable link in iframe
OK JAWS 2023.2311.34Edge 120 Reading Group start, example target. This is an. Link, example hyperlink. In the target page.
Fail JAWS 2023.2311.34Edge 120 Tabbing Skips over focusable link in iframe
OK JAWS 2022.2207.25Chrome 118 Reading Group start, example target. This is an. Link, example hyperlink. In the target page.
Fail JAWS 2022.2207.25Chrome 118 Tabbing Skips over focusable link in iframe
OK JAWS 2022.2207.25FF 102 Reading role=presentation makes frame seamless This is an. Link, example hyperlink. In the target page.
Fail JAWS 2022.2207.25FF 102 Tabbing Skips over focusable link in iframe
OK JAWS 2022.2207.25Edge 120 Reading Group start, example target. This is an. Link, example hyperlink. In the target page.
Fail JAWS 2022.2207.25Edge 120 Tabbing Skips over focusable link in iframe
OK VoiceOver macOS 14.6Safari 17.6 Reading role=presentation makes frame seamless This is an. Link, example hyperlink. In the target page.
Fail VoiceOver macOS 14.6Safari 17.6 Tabbing Skips over focusable link in iframe
OK VoiceOver macOS 13.6Safari 16.6 Reading role=presentation makes frame seamless This is an. Example hyperlink, link. In the target page.
Fail VoiceOver macOS 13.6Safari 16.6 Tabbing Skips over focusable link in iframe
OK VoiceOver iOS 17.7Safari iOS 17.7Touch This is an. Example hyperlink, link. In the target page.
OK VoiceOver iOS 16.6Safari iOS 16.6Touch 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