WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Table Headings

for

From: Jared Smith
Date: Aug 26, 2010 10:06AM


I can't quite envision what it is you're describing.

If the data makes sense without headers (this is a rarity), then why
beat yourself up trying to hack it to do something more? If it's
accessible already, do nothing - even if some rule or tool is
suggesting you need headers.

If, on the other hand, the table has headers that are not marked up as
<th>s, I can think of nothing you can do other than simply change the
header <td>s to <th>s, and optimally add the appropriate scope. As
Michael noted, you can modify them with CSS so they appear as <td>s,
if you must.

If, on the third hand (?), the table does not have headers but needs
them, it surely won't be very accessible unless they are provided to
everyone. I don't believe there's a way to position table header cells
off-screen. display:none would render them invisible to everyone.

Jared Smith