I think it is a bad thing that voting is implemented with two radio buttons. There should instead be three radio buttons, or two checkboxes.
Reason. The way it is now, a null vote is represented with both radio buttons unchecked. If you check an option box, most browsers won't give you a way to uncheck it if you change your mind without checking the other one at once. This is a bad thing.
Furthermore, the html standard http://www.w3.org/TR/html401/interact/forms.html says:
If no radio button in a set sharing the same control name is initially "on", user agent behavior for choosing which control is initially "on" is undefined. Note. Since existing implementations handle this case differently, the current specification differs from RFC 1866 (RFC1866 section 8.1.2.4), which states:
At all times, exactly one of the radio buttons in a set is checked. If none of the <INPUT> elements of a set of radio buttons specifies `CHECKED', then the user agent must check the first radio button of the set initially.
In reply to Voting with radio buttons: bad html style? by ambrus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |