AudithSoftworks/Uniform

Label doesn't activate input hover state

Open

#388 aperta il 16 gen 2014

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (346 fork)batch import
help wantedimprovementlow priority

Metriche repository

Star
 (2200 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

The actual label for the inputs is clickable and selects/deselects the input, however, when hovering on the label, it doesn't activate the hover state on the input. This applies to both checkboxes and radio buttons.

It is standard browser behaviour to do this, but I've not found any other jquery solutions that do it so far. I use confirmit to create surveys and they have an inbuilt option to use images instead of standard inputs. I have created a test survey and below is the link. It might be useful to see if you can reverse engineer it...

http://survey.euro.confirmit.com/extwix/test_p1705436033.aspx?__etk=SYKWWNGZXVEH

Guida contributor