W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2002

Re: is this a proper solution for a checkbox?

From: Jean-Marie D'Amour <jmdamour@videotron.ca>
Date: Wed, 03 Jul 2002 15:16:06 -0400
Message-Id: <5.0.2.1.2.20020703145717.017eb918@pop.videotron.ca>
To: RUST Randal <RRust@COVANSYS.com>
Cc: "WAI (E-mail)" <w3c-wai-ig@w3.org>

Hi Randal,

The problem I saw is that when the user go down the checkbox column he has 
no feedback on what record he is. He has to read almost a part of the row 
to know it and decide if he will check the box or no.

To solve this problem, I suggest to défine the second or the Third column 
as a TH and associate with other cell by headers. Scrop is not appropriate 
beacause, with a TH there, it becomes a complex table.

I test it and it works well with JAWS 4.02

Jean-Marie D'Amour

A 14:35 2002-07-03, vous avez écrit :

>I want to add a checkbox to the rows of a table, so that the user can select
>the record that they want to perform an action on.  Does anyone see a
>problem with the following markup?  I've validated to XHTML 1.0 Transitional
>and also to WCAG AAA with Bobby.  No problems in either, so I'm thinking
>this will be allright.
>
>Any feedback is appreciated.
>
>       <table border="1" cellspacing="0" cellpadding="2" rules="rows"
>summary="Table of referrals for this family." width="100%">
>         <caption>Referrals</caption>
>         <colgroup><col width="4%" /><col span="6" width="16%" /></colgroup>
>         <thead>
>           <tr>
>             <th scope="col">Select</th>
>             <th scope="col">ID Number</th>
>             <th scope="col">Family Member</th>
>             <th scope="col">Caseworker</th>
>             <th scope="col">Type</th>
>             <th scope="col">Date</th>
>             <th scope="col">Waive Income</th>
>           </tr>
>         </thead>
>         <tbody>
>           <tr>
>             <td scope="row">
>                         <label for="select1" style="display:
>none;">Select:</label>
>                         <input type="checkbox" id="select1" name="select1"
>/>
>                 </td>
>             <td><a href="#">number</a></td>
>             <td><a href="#">member</a></td>
>             <td>worker</td>
>             <td>type</td>
>             <td>date</td>
>             <td>value</td>
>           </tr>
>         </tbody>
>       </table>
>
>Randal Rust
>Covansys, Inc.
>Columbus, OH

Jean-Marie D'Amour M.Éd.
Formateur
CAMO pour personnes handicapées
www.camo.qc.ca
Received on Wednesday, 3 July 2002 15:16:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:05 GMT