WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Joining Column Headers with Columns


From: Paul Bohman
Date: Oct 18, 2001 2:35PM

Yes, you can associate table headers with cells of different columns. You would have to do something like this:

<th id="header1">One</th>
<th id="header2">Two</th>
<td headers="header2">Cell one</td>
<td headers="header1">Cell two</td>

The above table would be a bit strange, because the headers are associated diagonally. The cell under the first header is actually associated with the second header. Is this a good thing. Almost always the answer is NO, it is not. Perhaps you have some special circumstance that would make this a good idea. I'd have to see an example to know for sure.

Your description of your project is vague enough that I'm not sure how else to answer at this point.
Paul Bohman
Technology Coordinator
WebAIM (Web Accessibility in Mind)
Utah State University
-----Original Message-----
From: WebAIM forum [mailto: <EMAIL REMOVED> ]On Behalf Of Tim Harshbarger
Sent: Thursday, October 18, 2001 2:21 PM
Subject: Joining Column Headers with Columns

I am about to check the Web AIM site for this information, but since I want to find an answer as quickly as possible for this question, I figure I ought to ask here as well.
We are using tables to create a scrollable multi-column list box. Most of the list box is accessible. The only part which isn't are the headings.
One of the requirements of the solution is that the column headings for this table should not scroll, though the contents should be able to do so. We found one way of doing this by making the column headings a separate table. Are there any ways to associate the column headings in one cell with the columns of another cell? In this very specific instance, the solution only needs to work within JAWS (3.7 or later.)
I know this may seem like a weird question.
Tim Harshbarger
Disability Support Services
State Farm Insurance Companies
Phone: (3090) 766-0154