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

is this a proper solution for a checkbox?

From: RUST Randal <RRust@COVANSYS.com>
Date: Wed, 3 Jul 2002 14:35:26 -0400
Message-ID: <37925254B67DD311876C009027B0FF92027FC36C@cbscolex01.cbsinc.com>
To: "WAI (E-mail)" <w3c-wai-ig@w3.org>

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%">
        <colgroup><col width="4%" /><col span="6" width="16%" /></colgroup>
            <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>
            <td scope="row">
			<label for="select1" style="display:
			<input type="checkbox" id="select1" name="select1"
            <td><a href="#">number</a></td>
            <td><a href="#">member</a></td>

Randal Rust
Covansys, Inc.
Columbus, OH
Received on Wednesday, 3 July 2002 14:32:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:10 UTC