WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: How to associate form elements with table cells?


From: Thomas Jedenfelt
Date: May 28, 2005 11:57AM

I think I have improved the technique for my thread 'How to associate form elements with table cells? '.

Are there any drawbacks using the technique below?

I have removed the checkbox form control (choosing Book).

Old technique:

<td scope="row"><label><input type="checkbox"> Book A</label></td>
<td><input type="text" size="4" title="Quantity required, cost $2"></td>

New technique:

<td scope="row">Book A</td>
<td><input type="text" size="4" title="Enter quantity for Book A, cost $2."></td>

The benefit would be that the user need only to make _one_ entry (the quantity for each Book), and does not need to check the checkbox that referres to the book.

Thomas Jedenfelt

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

Powered by Outblaze