Indicates that the element and all of its descendants are not visible or perceivable to any user as implemented by the author.
<p aria-hidden="true">This content is hidden.</p> <p aria-hidden="false">This content is not hidden.</p> <!-- aria-hidden="false" is same as --> <p aria-hidden="true">This content is hidden.</p> <p>This content is not hidden.</p>
aria-hidden
effects:
aria-hidden
attribute)aria-hidden
content in the accessibility tree focusable content is included in tab order and is navigable and operable for AT users (as well as other users).invisible
. If IA2 is supported aria-hidden=true
is passed as an object attribute. If UIA is supported aria-hidden=true
is passed as an ARIA property.aria-hidden=false
is not mapped in any browser that supports aria-hidden, thus its use has no meaning or in other words has the same meaning as its absence.As mentioned, the standard method to hide content from all users in browsers that support CSS is and has been to use CSS display:none
.
<p style="display:none">This content is hidden.</p>
display:none
effects:invisible
. If UIA is supported OffScreen=true
.