accessibility-developer-tools icon indicating copy to clipboard operation
accessibility-developer-tools copied to clipboard

New audit? Nested aria-hidden.

Open ricksbrown opened this issue 9 years ago • 0 comments

Inspired by Marcy Sutton's comments here: https://web-a11y.slack.com/archives/general/p1438280229002399

It is often tempting to attempt to override an aria-hidden=true ancestor with aria-hidden=false, for example when building a modal dialog.

I spoke to some good developers who care about a11y and they did not know this was not permitted.

Here's some discussion in the wild: For example: http://stackoverflow.com/questions/21828152/nested-aria-hidden And: https://lists.w3.org/Archives/Public/public-pfwg/2015May/0118.html

I'd like to propose a new audit that checks for this. Perhaps severity warning?

Opinions? Thoughts?

ricksbrown avatar Aug 03 '15 07:08 ricksbrown