WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Tables with irregular headers

for

From: Vaibhav Saraf
Date: Apr 15, 2021 12:12PM


Hi Glen,

For row 1, Mars is the main heading and Produced and Sold are sub-sections
of it (which are in row 2). When I am in row 1 I would prefer to hear
'Mars' only and not 'Mars Produced'.

For the data cells it's fine.

I actually want to build a table which has sub-rows in them. Take an
instance I have FSA and corresponding geographic unit's name.

So my two column headers would be: 'FSA' and 'geographic unit'. I can have
further sub-rows dividing the table alphabetically. In such a case I am
getting the headers + sub-row headers getting announced everywhere in the
table.

Cannot find a very close example to it, but this W3's example is somewhat
closer.

Thanks,
Vaibhav




On Thu, 15 Apr 2021 at 23:29, glen walker < <EMAIL REMOVED> > wrote:

> It's working exactly correct. Both "Mars" and "Produced" are headers for
> the column so I would expect to hear both.
>
> I'm not sure I follow your example where you'd want "Produced" (or whatever
> column header for your scenario) only announced some of the time.
> Visually, that would be a very funky table where a column header only
> applied to certain rows. Would you indicate that association visually
> somehow?
> > > > >