WebAIM - Web Accessibility In Mind

E-mail List Archives

Tables with irregular headers

for

From: Vaibhav Saraf
Date: Apr 15, 2021 11:38AM


Hi Group,

I was referring Example 1 for irregular headers on below tutorial:
https://www.w3.org/WAI/tutorials/tables/irregular/

In the first row, I can hear "Mars Produced" and "Venus Produced"
respectively instead of just "Mars" and "Venus" (I used NVDA and JAWS 2020).

The "Produced" thing is coming from the header in the following row.
Similar thing is there in Example 2 as well.

I am looking for a way to get rid of the second header's announcement and
looking to scope the header to a specific number of rows or columns. As
this thing is supposed to be done for a large number of tables I am
reluctant in using 'header' attribute and want to get it done in a more
generic way.

Is there any better example which gets rid of the second header
announcement wherever it is not needed?

Thanks,
Vaibhav