| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>Autofill Form</title> |
| </head> |
| <body> |
| <form id="testform" method="post"> |
| <!-- for attribute associated to an input name. --> |
| <label for="name">I should be associated to an id attribute.</label> |
| <input type="text" name="name" id="input_1"> |
| <!-- Inputs with duplicated ids. --> |
| <input aria-label="I have a label" type="text" id="not_unique_id"> |
| <input aria-label="I have a label" type="text" id="not_unique_id"> |
| <!-- Inputs with no label. --> |
| <input type="text" id="input_4"> |
| </form> |
| </body> |
| </html> |