Data table with role=table
Screen reader compatibility
ARIA HTML
Nov 26, 2024
Expected Result: works in a screen reader
Actual Result: causes problems in 1 screen reader / browser combinations
This test checks that applying role=table overrides layout table heuristics.
Code used for this test:
<table role='table'>
<tbody>
<tr>
<td>This is some text</td>
</tr>
</tbody>
</table>
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 2022.2 to NVDA 2024.4
- NVDA with FF Stable - OK from NVDA 2022.2 to NVDA 2024.4
- JAWS with Chrome Stable - OK from JAWS 2022.2207.25 to JAWS 2024.2409.2
- JAWS with FF Stable - OK from JAWS 2022.2207.25 to JAWS 2024.2409.2
- VoiceOver macOS Stable - OK from VoiceOver macOS 13.6 to VoiceOver macOS 14.6
- VoiceOver iOS Better - caused problems in VoiceOver iOS 15.6, but now OK in VoiceOver iOS 17.7
Screen reader | Browser | Mode | Notes | What the user hears |
---|---|---|---|---|
NVDA 2024.4 | Chrome 131 | Reading | Table with 1 rows and 1 columns. Row 1, columns 1, this is some text. | |
NVDA 2024.4 | FF 128 | Reading | Table with 1 rows and 1 columns. Row 1, columns 1, this is some text. | |
NVDA 2024.4 | Edge 131 | Reading | Table with 1 rows and 1 columns. Row 1, columns 1, this is some text. | |
NVDA 2023.3 | Chrome 120 | Reading | Table with 1 rows and 1 columns. Row 1, columns 1, this is some text. | |
NVDA 2023.3 | FF 115 | Reading | Table with 1 rows and 1 columns. Row 1, columns 1, this is some text. | |
NVDA 2023.3 | Edge 120 | Reading | Table with 1 rows and 1 columns. Row 1, columns 1, this is some text. | |
NVDA 2022.2 | Chrome 105 | Reading | Table with 1 rows and 1 columns. Row 1, columns 1, this is some text. | |
NVDA 2022.2 | FF 102 | Reading | Table with 1 rows and 1 columns. Row 1, columns 1, this is some text. | |
NVDA 2022.2 | Edge 105 | Reading | Table with 1 rows and 1 columns. Row 1, columns 1, this is some text. | |
JAWS 2024.2409.2 | Chrome 131 | Reading | Table with 1 columns and 1 rows. This is some text. | |
JAWS 2024.2409.2 | FF 128 | Reading | Table with 1 columns and 1 rows. This is some text. | |
JAWS 2024.2409.2 | Edge 131 | Reading | Table with 1 columns and 1 rows. This is some text. | |
JAWS 2023.2311.34 | Chrome 120 | Reading | Table with 1 columns and 1 rows. This is some text. | |
JAWS 2023.2311.34 | FF 115 | Reading | Table with 1 columns and 1 rows. This is some text. | |
JAWS 2023.2311.34 | Edge 120 | Reading | Table with 1 columns and 1 rows. This is some text. | |
JAWS 2022.2207.25 | Chrome 105 | Reading | Table with 1 columns and 1 rows. This is some text. | |
JAWS 2022.2207.25 | FF 102 | Reading | Table with 1 columns and 1 rows. This is some text. | |
JAWS 2022.2207.25 | Edge 105 | Reading | Table with 1 columns and 1 rows. This is some text. | |
VoiceOver macOS 14.6 | Safari 17.6 | Reading | Table, 1 column, 1 row. This is some text, column 1 of 1. | |
VoiceOver macOS 13.6 | Safari 16.6 | Reading | Table, 1 column, 1 row. This is some text, column 1 of 1. | |
VoiceOver iOS 17.7 | Safari iOS 17.7 | Reading | Treated as a data table. | This is some text. Table start, end. |
VoiceOver iOS 16.6 | Safari iOS 16.6 | Reading | Treated as a data table. | This is some text. Table start, end. |
VoiceOver iOS 15.6 | Safari iOS 15.6 | Reading | Role ignored, treated as a layout table. | This is some text. |
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