One of the most common usability faux pas I find all over the internet is the lack of developers linking up radio buttons with their labels. Why should we be forced to click a tiny little circle when we should be able to click the actual text for that choice?
It's built into the HTML spec so why don't developers use it? Even some of the biggest sites on the web are guilty of this one. I just don't get it.. it's not exactly rocket science.
Just give an ID to your radio button, like so:
then wrap the text that goes with that radio button in a label tag, as such:
Here's a full example with a few selections to choose from.. notice how you can just click the text to select the choice you'd like:
The full code for that was:
With all of the attention being given to usability in this Web 2.0 world, let's make sure we've got 1.0 covered first.
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
Project Tracker v2.0 Released
Scott said: Joe- Great app - I use it at work. I do have a question, though. I wanted to install this on my host...
[More]
The Importance of HTMLEditFormat()
Andrew said: Just do it when outputting to the screen, not when inserting/updating
data in the database otherwis...
[More]
Project Tracker v2.0 Released
Aaron Bodell said: I came across this app while searching the RIAForge for project trackers. I'm really impressed with ...
[More]
Project Tracker v2.0 Released
Richard said: Thanks Joe - Looking forward to testing the new version!
Is there somewhere we can make suggestions...
[More]
Amazon S3 REST Wrapper
Zac Spitzer said: I've been hacking away on the CFC and I have fixed numerous bugs and added support
for compression, ...
[More]
There are no comments for this entry.
[Add Comment]