WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Re: How to associate form elements with table cells?

for

From: Thomas Jedenfelt
Date: Jun 6, 2005 10:11AM


Hi Randy,

Thanks for your input.

I have often wondered what the differences are regarding <td scope="row"> and <th scope="row">.

I use <td scope="row"> because HTML 4.01 Spec. says:
'TH is for headers, TD for data, but for cells acting as both use TD'.

I would use <th scope="row"> if I knew that that would benefit the users more.

Regards,
Thomas Jedenfelt


----- Original Message -----
From: "Randy Pearson"
Date: Mon, 6 Jun 2005 11:32:16 -0400

>
> Separate issue: I thought that, semantically, the first cell was supposed to
> be a TH. That would provide the interpretation: "the scope of this *header*
> information is this row".
>
> -- Randy
>
> > New technique:
> >
> > <td scope="row">Book A</td>
> > <td><input type="text" size="4" title="Enter quantity for Book A,
> > cost $2."></td>
> > <td>2,00</td>

--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com

Powered by Outblaze