WebAIM - Web Accessibility In Mind

E-mail List Archives

Accessible table where some data spans multiple columns

for

From: Jeremy Echols
Date: Nov 12, 2018 1:24PM


I'm trying to figure out how to make a table read the headers properly when a data cell spans multiple columns. We have a data table (gist URL below) where we're describing fines for library resources, and some of the fines are the same across multiple groups, so naturally we used "colspan" to make it clear that the information pertains to multiple groups. Unfortunately, when I tested this out with NVDA, it only read the first pertinent header for the data. I'm not sure why this is happening, as the markup looks correct to me.

Any ideas what's going on? Is this an NVDA bug or am I missing something obvious?

Gist URL: https://gist.github.com/jechols/8e1d447e98c9c40e24e114e80a5c5b7b#file-table-html