W3: F68-2: Failure of Success Criterion 1.3.1 and 4.1.2 due to the association of label and user interface controls not being programmatically determined
This code example is taken from the Failures for WCAG 2.0
Example Begin
Example End
Code for this Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="..." method="post"> | |
<p> | |
<label>First Name</label> | |
<input type="text" name="firstname"> | |
<label>Last Name</label> | |
<input type="text" name="lastname"> | |
</p> | |
</form> |