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: <>
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.


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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:35:56 UTC