<label for="firstname">First name:</label> 
<input type="text" name="firstname" id="firstname" tabindex="1" />

Looking at passable label code for input with type="text" provided by the code checker and this is how they have it

http://achecker.ca/checker/suggestion.php?id=57