Design Guidelines: Radio Buttons versus Checkboxes
Posted by Michael Gaigg
Users hate formulars, it is work to them. Filling out forms on the web is no different, that's why getting web form design right is difficult, even simple forms can be challenging.
A good start is using the correct form element, or in the words of this blog entry to know when to use Radio Buttons versus Checkboxes:
General Design Guidelines
- Use standard visual representations
- Visually present groups of choices as groups (e.g. use subheads)
- Lay out your lists vertically with one choice per line
- Use positive and active wording for checkbox labels
- If possible, use radio buttons rather than drop-down menus
- Always offer a default selection for radio button lists
- Make radio button options comprehensive and clearly distinct
- Associate each button/box with a label
- Define accesskeys for frequently used checkboxes and radio buttons
- Use checkboxes and radio buttons only to change settings, not as action buttons
Radio Buttons
Radio Buttons are used when a list of two or more options is mutually exclusive and the user must select exactly one choice.
<fieldset>
<legend>Gender</legend><br />
<input id="female" type="radio" name="sex" value="female" checked>
<label for="female">Female</label><br />
<input id="male" type="radio" name="sex" value="male">
<label for="male">Male</label><br />
</fieldset>
Checkboxes
Checkboxes are used when a list of options exists where the user may select any number of choices – including zero, one or several.
<fieldset>
<legend>What is your favorite type of salad dressing?</legend><br />
<input id="French" type="checkbox" name="dressing1" value="checkbox">
<label for="French">French</label><br />
<input id="Italian" type="checkbox" name="dressing2" value="checkbox">
<label for="Italian">Italian</label><br />
<input id="Russian" type="checkbox" name="checkbox3" value="checkbox">
<label for="Russian">Blue cheese</label>
</fieldset>
Opt-in Checkbox
A stand-alone checkbox is used for a single option that the user can turn on and off.
<input id="accept" type="checkbox" name="yes" value="checkbox">
<label for="accept">I accept the terms and conditions.</label><br />
References
- Nielsen, J.; Checkboxes vs. Radio Buttons; http://www.useit.com/alertbox/20040927.html
- Share this:
About Me
I'm Michael Gaigg, Lead UI Engineer at Esri's Prof. Services.
I have over 8 years of experience in designing map interfaces and can't stop thinking about improving them.
Help me by sharing your thoughts, ideas and comments.
Categories
- Accessibility (16)
- Code Samples & Tips (10)
- Conclusions (4)
- Design Guidelines (12)
- Designing Map Interfaces (3)
- Go figure (9)
- Good News (20)
- Here and there (23)
- Map Applications (9)
- This Week's Highlights (53)
- Usability & UCD (23)
- Web Design (23)
Popular Posts
- ColoRotate – 3D color scheme generator with social component
- Web Content Accessiblity Guidelines (WCAG) 2.0: Overview and Structure
- Powerpoint Wireframe Stencils as Free Download
- Go figure: 10 Comic Strips that have Something in Common
- Job Posting: User Interface (UI) Engineer at ESRI
Latest tweets
- Esri's main auditorium by richie http://t.co/4xhaiklf #esri 3 days ago
- Mapping Stereotypes: Europe according to Americans - http://t.co/E8VKHrq6 #map #europe #americans #stereotype 1 week ago
- Amazing Paintings with inlaid Maps http://t.co/ZZUKS836 #maps #mapart #art #painting 3 weeks ago
- @wodi79 lecker!!! in reply to wodi79 3 weeks ago
- amazing story #map of the Titanic Centennial http://t.co/t4reGvzb #esri 2012-04-13
- More updates...
Posting tweet...


