1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32

content / test / data / autofill / autofill_form_devtools_issues_test.html [blame]

<!DOCTYPE html>
<html>
  <head>
    <title>Autofill Form</title>
  </head>
  <body>
    <form id="testform" method="post">
      <!-- for attribute associated to an input name. -->
      <label for="input_1_name">I should be associated to an id attribute.</label>
      <input type="text" name="input_1_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">
      <!-- Inputs with an empty autocomplete attribute. -->
      <input aria-label="I have a label" type="text" id="input_5" autocomplete />
      <!-- Inputs without id neither name. -->
      <input aria-label="I have a label" type="text">
      <!-- Input to aria-labelledby that does not exist. -->
      <input type="text" id="input_6" aria-labelledby="non-existing-id">
      <!-- Inputs with autocomplete values assigned to id or name. -->
      <input aria-label="I have a label" type="text" id="given-name">
      <!-- Label has no nested input nor for attribute. -->
      <label></label>
      <!-- Label for value uses non existing id. -->
      <label for="non_existing_id"></label>
      <!-- Autocomplete is wrong but well intended. It contains an autocomplete keyword as substring. -->
      <input aria-label="I have a label" type="text" id="input_7" autocomplete="password">
    </form>
  </body>
</html>