W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2000

RE: Radio buttons id's and labels

From: Patrick Burke <burke@ucla.edu>
Date: Wed, 28 Jun 2000 11:15:12 -0700
Message-Id: <4.3.2.7.2.20000628111242.00d608b0@pop.ben2.ucla.edu>
To: Bruce Bailey <bbailey@clark.net>, "Massey, Nancy" <nmassey@postoffice.dca.net>
Cc: w3c-wai-ig@w3.org
The ID values don't show up in JAWS/MSIE5.01, fwiw.

Patrick

At 10:44 AM 6/28/00, Bruce Bailey wrote:

>(2)  Yes, you want all your radio buttons to have the same NAME value (or it
>doesn't work right), but there is no compelling reason why ID has to be
>equivalent to NAME, so your example code could be:
>
>  <label for="role">Choice of role</label>
>  <input name="role" id="role1" value="Mentor only" type="radio">
>         a Mentor only
>  <input name="role" id="role2" value="Mentor or a Lead Mentor" type="radio">
>         a Mentor or a lead Mentor
>
>Haven't tried this, so I can't say for sure it works.  (The forms I have
>done that use radio buttons I haven't bothered with ID values.)  ID is
>something that (in theory only?) gets picked up by the screen reader or
>other UA.
Received on Wednesday, 28 June 2000 14:15:26 GMT

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