RE: Radio buttons id's and labels

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 UTC