Give help. Get help.
This seems like an extremely simple question, but perhaps I misunderstand the functionality of <label>‘s.
I have a set up similar to this:
<label class="contact-labels" for="first-name">First Name</label>
<span class="wpcf7-form-control-wrap first-name"><input type="text" name="first-name" value="" size="40" class="first-name" aria-required="true"></span>
From what I understand, when you click on a label, focus jumps to the corresponding input field, however, with what I have above, that doesn’t happen.
Is there something I’m missing?
Any advice is appreciated,
You need an id="first-name"
You must be logged in to reply to this topic.