[Skip navigation links]
Login

Blog » Compatibility

Table cell header calculation for AT

Posted by Mark Rogers on Feb 14, 2016 | 

Accessibility

Summary 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.