hidden attribute test

Pass Criteria

Reference

Test hn-001: Hidden attribute

Code

<p hidden>These elements should be hidden both visually and to assistive technology.</p>
<input id="input1" type="button" hidden />

Test hn-002: Hidden with aria-hidden=true

Code

<p hidden aria-hidden="true">These elements should be hidden both visually and to assistive technology.</p>
<input id="input2" type="button" hidden aria-hidden="true" />