Highlighting Labels
When designing HTML forms it's important to correlate a field's label with it's input, select or textarea element. With this is mind, this page demos some javascript which enhances the UI of a form which uses correctly marked-up inputs and labels. The javascript simply highlights a checkbox or radio's corresponding label, giving each label a nice visual clue to the selected options. The original weblog post can be viewed here.