ARIA in HTML - test case for valid non-interactive elements which can use aria-hidden

last updated 28 February 2021

Tests:

Test 3

Authors SHOULD NOT use the aria-hidden="true" attribute on any element which also has a hidden attribute.

This test case sets aria-hidden="true" and the hidden to all HTML elements where use of aria-hidden is not invalid (test 1).

Expected result:
Warning for each element that uses both aria-hidden=true and hidden attributes