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

content / test / data / accessibility / html / input-checkbox.html [blame]

<!--
@BLINK-ALLOW:inputType=*
@WIN-ALLOW:checkable:*
@WIN-ALLOW:CHECKED*
@WIN-ALLOW:ia2_hypertext=*
@WIN-ALLOW:IA2_STATE_*
@WIN-ALLOW:MIXED
@WIN-ALLOW:xml-roles:*
@WIN-ALLOW:text-input-type*
@AURALINUX-ALLOW:text-input-type*
@AURALINUX-ALLOW:xml-roles:*
@AURALINUX-ALLOW:indeterminate
@AURALINUX-ALLOW:checked
@AURALINUX-DENY:checkable
-->
<html>
<body>
  <label><input type="checkbox" value="Checked0">Checkbox0</label>
  <label><input type="checkbox" checked value="Checked1">Checkbox1</label>
  <label><input type="checkbox" aria-checked="true" value="Checked2">Checkbox2</label>
  <label><input type="checkbox" role="checkbox" aria-checked="true" value="Checked3">Checkbox3</label>
  <label><input type="checkbox" id="checkbox4" value="Checked4">Checkbox4</label>

  <script>
    var checkbox4 = document.getElementById('checkbox4');
    checkbox4.indeterminate = true;
  </script>
</body>
</html>