WebAIM - Web Accessibility In Mind

E-mail List Archives

FW: Multiple Table Heading Rows with Colspan

for

From: Sandy Clark
Date: Aug 20, 2004 11:31AM



The short answer is "yes"

Transmission


Interstate
Intrastate>


28.9
32.4

You can have as many id's in the headers attributes as you need.

-----Original Message-----
From: randyp [mailto: <EMAIL REMOVED> ]
Sent: Friday, August 20, 2004 1:12 PM
To: WebAIM Discussion List
Subject: [WebAIM] Multiple Table Heading Rows with Colspan



Suppose you have a table that includes these 2 columns:

---------------------------------------------
| | Interstate | Intrastate | |
|Headings|Transmission|Transmission|Headings|
|-------------------------------------------|
| datum | 28.9 | 32.4 | datum |
|-------------------------------------------|
| datum | 31.2 | 38.4 | datum |
---------------------------------------------

Everything is nice and accessible with all ID's, HEADER's, etc. attributes
in place, when the client says that they don't like the look with the word
Transmission repeated twice and would prefer a 2-row heading with a colspan
like so:

---------------------------------------------
| | Transmission | |
| --------------------------- |
|Headings|Interstate |Intrastate |Headings|
---------------------------------------------
| datum | 28.9 | 32.4 | datum |
---------------------------------------------
| datum | 31.2 | 38.4 | datum |
---------------------------------------------

Can this arrangement be made accessible also? For example, if the TH with
"transmission" were given ID="thTrans" and the TH with "interstate" were
given ID="thInter", could the cells in that column be set with
HEADERS="thTrans thInter" such that assistive technology would combine the
test from those two header cells to comprise the label for the data.

Thanks,

-- Randy

----
To subscribe or unsubscribe, visit http://www.webaim.org/discussion/