WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Form labeling question

for

From: Conyers, Dwayne
Date: Mar 21, 2008 1:30PM


Also Spracht Jukka K. Korpela:

> > What types of events would you like to see more of? (indicate your top
> > three)
> >
> > 1 2 3
> > * * * Comedy Nights
> > * * * Dances
> > * * * Films
> > * * * Athletic events
> > * * * Community Service
> > * * * Battle of the Bands
> >
> > ***************
> >
> > The bullets above represent radio buttons.
>
> This is easy as soon as you decide to use a text input box (with
> size="1") for each entry, instead of the three radio buttons.
> This solves the labelling problem automagically, and it also
> removes the problem that a set of radio buttons should always
> have a neutral option preselected, for robustness.


Alternatively, you could use drop-down controls with numbers 1, 2 and 3. Your on-change event removes the selection made in one control from the other controls. After three choices have been made, your validation script wipes the other controls.

You may want to have a <CLEAR> button so the user can start over...


--
The generation that used acid to escape reality
Is now using antacid to deal with reality
http://dwacon.blogspot.com