When a table has multiple layers of column and/or row headings, as we know,
there are a couple of options for making the table accessible. Using a
*scope* attribute is fine as long as the number of column levels or row
levels doesn't exceed two, since you can only specify "col" and "colgroup"
as scope values in the former case, and "row" or "rowgroup" in the latter.
Then there's the use of *id*, *headers*, and *axis*. For most purposes, I
wonder whether it's over the top. It's highly involved, and in particular
the axis attribute seems to be going overboard unless the kind of tricks
they would permit a user agent to perform computationally are something you
would have wanted to enable even without accessibility considerations. It's
also awkward if it isn't a question of a simple set of permutations (as at:
http://mywebpages.comcast.net/hmessinger/gdp.html
)
Anyway, please take a look at:
http://mywebpages.comcast.net/hmessi...dim-table.html
I've used <th> for the row headings (states) and for the lowest level of
column headings (the grades). (If this were a real page, of course, I'd use
styles to set a uniform appearance for all three rows of column headings.)
I've set *abbr* and *title* attributes for those column headings thus:
<th abbr="1998 reading grade 4" title="1998 reading grade 4">Grade 4</td>
<th abbr="1998 writing grade 8" title="1998 writing grade 8">Grade 8</td>
<th abbr="1998 reading grade 4" title="1998 reading grade 4">Grade 4</td>
<th abbr="1998 writing grade 8" title="1998 writing grade 8">Grade 8</td>
<th abbr="2000 reading grade 4" title="2000 reading grade 4">Grade 4</td>
<th abbr="2000 writing grade 8" title="2000 writing grade 8">Grade 8</td>
<th abbr="2000 reading grade 4" title="2000 reading grade 4">Grade 4</td>
<th abbr="2000 writing grade 8" title="2000 writing grade 8">Grade 8</td>
Does this accomplish the basic purpose? Is it satisfactory? Should I use
only *abbr* or only *title*?
--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.