Tests:
Test 1
Authors MAY use the aria-disabled attribute on any element that is allowed the disabled attribute in HTML, or any element with a WAI-ARIA role which allows the aria-disabled attribute.
The following elements have aria-disabled=true
attributes.
Expected result:
for all but input type=hidden
no warning/error
for input type=hidden
error that no aria-*
attributes are allowed.
Test 2
Authors SHOULD NOT use aria-disabled="true"
on any element which also has a disabled
attribute.
The following elements have aria-disabled=true
and disabled
attributes.
Expected result:
for all but input type=hidden
unnecessary use of aria-disabled
when element has disabled
.
for input type=hidden
error that no aria-*
attributes are allowed.
Test 3
Authors MUST NOT use aria-disabled="false"
on any element which also has a disabled
attribute.
The following elements have aria-disabled=false
and disabled
attributes.
Expected result:
for all but input type=hidden
error for use of aria-disabled="false"
with disabled
attribute.
for input type=hidden
error that no aria-*
attributes are allowed.