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>
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 hasaria-hidden
applied.For example:
This came via an enquiry on WebAIM.