WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Using Tables

for

From: Jared Smith
Date: Feb 10, 2012 5:24PM


On Fri, Feb 10, 2012 at 12:23 PM, Ted wrote:
> Definitely need a summary for complex tables.

I disagree. A few reasons why I think summary is almost universally a bad idea:

1. If the table is so complex that its structure needs to be explained
to the user, it's too complex. Period.

2. Summary is screen-reader only and is forced upon the screen reader
user each time the table is encountered. With proper table markup, the
user should be able to quickly navigate the table to determine its
content and structure, in the same way that sighted users must scan a
table to determine its content and structure.

3. Summary is currently not part of HTML5.

4. Summary is NOT for presenting the purpose or content of the table.
It's for describing its structure, when necessary (see #1). Probably
90% of summary attributes on the web get this wrong. If it's important
that the purpose or content of the table be presented, this should be
done in a way that is accessible to everyone (e.g., <caption>, etc.).

It's a rarity to find a summary attribute that does much good. They
are almost always a waste of time or an excuse for presenting an
overly complex table. Or both.

And no, I don't have strong feeling on the subject. :-)

Jared