WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: need table help

for

From: Chris Heilmann
Date: Jan 18, 2005 9:25AM



>
>> From: darrel.austin
> [...]
>> What's a good way to mark this up? :
>>
>>
>> Name
>> Status
>>
>>
>> person
>> status
>>
>>
>> employer
>> status
>>
>
> Looks ok-ish to me. Belt and braces approach would be to also use
> scope and to give an id to the headers in the first row. Something
> like (hope I'm not getting this wrong):
>
>
> Name
> Status
>
>
>
> person
> status
>
>
>
> employer
> status
>


Both rather wrong. The scope is the easiest approach, and the attribute is
called "headers" not "header". You cannot link to a TD via headers, you
need to link to a TH.

So




Name
Status




Person
Status


Person
Status




With id / headers:




Name
Status




Person
Status


Person
Status




More detail: http://icant.co.uk/forreview/tables/

HTH
Chris







--
Chris Heilmann
http://icant.co.uk/ | http://www.onlinetools.org/