WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: another way to create header attribute in complexttables?

for

From: Angela French
Date: Dec 9, 2014 10:24AM


Thanks Jared. I haven't coded up a complex table in a long time. In the CMS I am able to provide the scope to row, column, row group and column group.

-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Jared Smith
Sent: Tuesday, December 09, 2014 9:20 AM
To: WebAIM Discussion List
Subject: Re: [WebAIM] another way to create header attribute in complext tables?

The article you reference is almost 10 years old. It's recommendation to avoid the scope attribute is quite outdated.

Can you assign the scope="col" or scope="row" attributes to the header cells as documented at http://webaim.org/techniques/tables/data#headers?

If not, it's unlikely that the table would ever be highly accessible.
I don't think I've ever seen a table that is so complex that it requires the headers/id approach (i.e., scope is not sufficient) that is actually understandable to a screen reader user.

Jared