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

Re: Proper Coding for Yes/No Questions

From: Access Systems <accessys@smart.net>
Date: Tue, 5 Mar 2002 13:34:54 -0500 (EST)
To: RUST Randal <RRust@COVANSYS.com>
cc: "WAI (E-mail)" <w3c-wai-ig@w3.org>
Message-ID: <Pine.LNX.4.21.0203051333030.23151-100000@smarty.smart.net>
On Tue, 5 Mar 2002, RUST Randal wrote:

not sure would have to check it but a common problem I run into with radio
buttons (in LYNX) is that the last one, usually the submit button, just
sort of vanishes and can not be "clicked" no matter what is done, can
"see" it, it just won't work.   not sure what the coding problem is that
causes this though

Bob


> I have several forms with simple "yes/no" questions on them.  I need to use
> radio buttons for the selections.
> 
> Is the following code correct for accessibility?
> 
> ----------
> 
> <label for="smart">Are you smart?</label>
> <label for="smartYes">Yes</label><input type="radio" id="smartYes" />
> <label for="smartNo">No</label><input type="radio" id="smartNo" />
> 
> ----------
> 
> Randal Rust
> Covansys, Inc.
> Columbus, OH
> 

   ASCII Ribbon Campaign                        accessBob                       
    NO HTML/PDF/RTF in e-mail                   accessys@smartnospam.net       
    NO MSWord docs in e-mail                    Access Systems, engineers       
    NO attachments in e-mail,  *LINUX powered*   access is a civil right 
*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#
THIS message and any attachments are CONFIDENTIAL and may be
privileged.  They are intended ONLY for the individual or entity named
above. If you are not the intended recipient, Please notify the sender as
soon as possible. Please DO NOT READ, COPY, USE, or DISCLOSE this
communication to others and DELETE it from your computer systems.  Thanks
Received on Tuesday, 5 March 2002 13:23:46 GMT

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