Screen Reader Compatibility Blog Posts
Layout table vs data table detection
The table element in HTML is not always treated as a table by assistive technology.
Historically HTML tables have been misused for layout. Before the introduction of CSS Grid in 2017 there was no reliable CSS method to layout HTML on a grid, so tables were often used instead (and some legacy browsers still don’t support CSS Grid).
This means there are two types of table:
- Data tables containing data where rows and columns have meaning (e.g. the columns in the Periodic Table of Elements describe fundamental properties of matter)
- Layout tables where the content could be presented in other ways with no loss of information (e.g. a grid of product images on an online store)
Data tables are read as 2-dimesional table objects in a screen reader (with right/left and up/down navigation),
but cells in layout tables are read like a series of spans (with next/prev navigation).
Screen reader tests - January 2020
We’ve just released a new batch of screen reader test results. We started testing screen reader support for accessibility features in 2012. Since then we’ve run over 10,000 individual tests covering 54 browser and screen reader combinations.
New tests in this release cover:
- NVDA 2019 with Chrome, Firefox and IE11
- JAWS 2019 with Chrome, Firefox and IE11
- VoiceOver with Safari on macOS 10.14 and iOS 12
This is the first release with tests results for Chrome. Chrome support for Windows screen readers is very good apart from the built-in PDF viewer.
Screen reader tests - April 2019
A new batch of screen reader test results is now available.
New tests in this release cover:
- NVDA 2018 with Firefox and IE11
- JAWS 2018 with Firefox and IE11
- VoiceOver with Safari on macOS 10.13 and iOS 11
A key finding is aria-label no longer works when reading links in JAWS 2018 with Firefox 60, but did work in previous versions of JAWS and Firefox as far back as 2012.
Update: the aria-label problem was fixed by a subsequent release and now works in JAWS 2019 with Firefox 68.
Table cell header calculation for AT
This post describes how table cell headers for screen-readers are calculated.
- TH with SCOPE=ROW or SCOPE=COL is unambiguous and widely supported
- TD with SCOPE is non-conforming in HTML 5, and is ignored as a header on some browsers (works in Apple WebKit, but ignored in Chromium WebKit).
- On tables with headers in the top row, or first column, TH without SCOPE usually works.
- TD HEADERS is problematic because it assumes a single list of headers for each cell, but accessibility APIs expose row and column headers as separate properties
- On any other table, TH without SCOPE produces wildly varying results.