w3c / using-aria

Using ARIA
https://w3c.github.io/using-aria/
Other
88 stars 23 forks source link

Include child elements in 4th rule? #32

Closed LJWatson closed 6 years ago

LJWatson commented 6 years ago

The 4th rule explains that aria-hidden should not be used on interactive/focusable elements, but it doesn't clarify whether the rule also applies to interactive/focusable child elements within a container that has aria-hidden applied.

For example:

<div aria-hidden="true">
// some content
<button>Foo</button>
// some more content
</div>

This came via an enquiry on WebAIM.