chromium/content/test/data/accessibility/aria/aria-illegal-val.html

<!DOCTYPE html>
<!--
Test ARIA boolean/token properties using illegal values.
Boolean properties should be exposed as true.
@WIN-ALLOW:atomic*
@WIN-ALLOW:autocomplete*
@WIN-ALLOW:current*
@WIN-ALLOW:grab*
@WIN-ALLOW:haspopup*
@WIN-ALLOW:live*
@WIN-ALLOW:relevant*
@WIN-ALLOW:sort*
@WIN-ALLOW:IA2_STATE_HORIZ*
@WIN-DENY:currentVal*
@BLINK-DENY:hierarchical*
@BLINK-DENY:*ForRange*
@BLINK-ALLOW:ariaCurrent*
@BLINK-ALLOW:ariaInvalidValue*
@BLINK-ALLOW:autoComplete*
@BLINK-ALLOW:busy*
@BLINK-ALLOW:checked*
@BLINK-ALLOW:collapsed*
@BLINK-ALLOW:container*
@BLINK-ALLOW:disabled*
@BLINK-ALLOW:expanded*
@BLINK-ALLOW:haspopup*
@BLINK-ALLOW:horizontal*
@BLINK-ALLOW:invalid*
@BLINK-ALLOW:live*
@BLINK-ALLOW:modal*
@BLINK-ALLOW:multiline*
@BLINK-ALLOW:multiselect*
@BLINK-ALLOW:pressed*
@BLINK-ALLOW:required*
@BLINK-ALLOW:restriction*
@BLINK-ALLOW:sort*
@BLINK-ALLOW:vertical*
@AURALINUX-ALLOW:atomic*
@AURALINUX-ALLOW:autocomplete*
@AURALINUX-ALLOW:busy*
@AURALINUX-DENY:checkable
@AURALINUX-ALLOW:checked*
@AURALINUX-ALLOW:current*
@AURALINUX-ALLOW:disabled*
@AURALINUX-ALLOW:expanded*
@AURALINUX-ALLOW:haspopup*
@AURALINUX-ALLOW:hidden*
@AURALINUX-ALLOW:invalid-entry
@AURALINUX-ALLOW:live*
@AURALINUX-ALLOW:modal*
@AURALINUX-ALLOW:multiline*
@AURALINUX-ALLOW:multiselectable*
@AURALINUX-ALLOW:orientation*
@AURALINUX-ALLOW:pressed*
@AURALINUX-ALLOW:readonly*
@AURALINUX-ALLOW:relevant*
@AURALINUX-ALLOW:required*
@AURALINUX-ALLOW:selected*
@AURALINUX-ALLOW:sort*
-->
<html>
<body>
<!-- Technically, illegal atomic values should be exposed in the object attr,
     does not seem like a priority -->
<div aria-atomic="X-ILLEGAL" role="log" aria-label="Atomic illegal"></div>
<div aria-autocomplete="X-ILLEGAL" role="textbox" aria-label="Autocomplete illegal"></div>
<div aria-busy="X-ILLEGAL" role="log" aria-label="Busy illegal"></div>
<div aria-checked="X-ILLEGAL" role="treeitem" aria-label="Checked illegal"></div>
<!-- aria-current rules from https://www.w3.org/TR/wai-aria-1.1/#aria-current:
     "Any value not included in the list of allowed values should be treated by
     assistive technologies as if the value true had been provided." -->
<div aria-current="X-ILLEGAL" role="group" aria-label="Current illegal"></div>
<div aria-disabled="X-ILLEGAL" role="group" aria-label="Disabled illegal"></div>
<div aria-expanded="X-ILLEGAL" role="treeitem" aria-label="Expanded illegal"></div>
<div aria-haspopup="X-ILLEGAL" role="button" aria-label="Haspopup illegal"></div>
<div aria-invalid="X-ILLEGAL" role="group" aria-label="Invalid illegal"></div>
<div aria-live="X-ILLEGAL" role="log" aria-label="Live illegal"></div>
<div aria-modal="X-ILLEGAL" role="dialog" aria-label="Modal illegal"></div>
<div aria-multiline="X-ILLEGAL" role="textbox" aria-label="Multiline illegal"></div>
<div aria-multiselectable="X-ILLEGAL" role="grid" aria-label="Multiselectable illegal"></div>
<!-- For aria-orientation, use default for the given role -->
<div aria-orientation="X-ILLEGAL" role="slider" aria-label="Orientation illegal"></div>
<div aria-pressed="X-ILLEGAL" role="button" aria-label="Pressed illegal"></div>
<div aria-readonly="X-ILLEGAL" role="textbox" aria-label="Readonly illegal"></div>
<div aria-relevant="X-ILLEGAL" role="log" aria-label="Relevant illegal"></div>
<div aria-required="X-ILLEGAL" role="textbox" aria-label="Required illegal"></div>
<!-- Test selected inside multiselectable. -->
<div role="tree" aria-multiselectable="true">
  <div aria-selected="X-ILLEGAL" role="treeitem" aria-label="Selected illegal"></div>
</div>
<!-- Technically, aria-sort illegal value should be exposed in object attribute -->
<div role="grid">
  <div aria-sort="X-ILLEGAL" role="columnheader" aria-label="Sort illegal"></div>
</div>
<!-- Test aria-hidden at end because a broken test can have extra object,
     and ruin the rest of the test. -->
<div aria-hidden="X-ILLEGAL" aria-label="Hidden illegal"></div>
</body>
</html>