Update: hidden attribute clarifications by scottaohara · Pull Request #507 · w3c/html-aria (original) (raw)

Update expectations for use of aria-hidden with the hidden attribute.

Clarify that the use of aria-hidden on an element with the hidden element is generally not recommended - but authors MUST NOT declare these attributes together if the hidden attribute is in the 'until-found' state.

example use case that should result in errors from checkers:

<div hidden aria-hidden=true>
  content that can be found, but will remain inaccessible per aria-hidden attribute
</div>

Preview | Diff