ARIA in HTML - test cases for aria-disabled on a href

last updated 9 March 2021

Tests:

Test 1

Authors are NOT RECOMMENDED to use the aria-disabled attribute on the a element with an href attribute.

Expected result:
warn authors aria-disabled is not to be used on native a element with href. (authors should use a without href instead)

Test 2

Authors can use the aria-disabled attribute on the a element if it has no href.

Expected result:
no warning/error. This is valid.