WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: ARIA roles and multiple descendants

for

From: Nolan Darilek
Date: May 12, 2020 7:58AM


Got it. In this case, the header itself expands the content when
clicked. I just need to figure out how to get my screen reader reporting
the correct state for this HTML, in a way that doesn't visually modify
the content.


Thanks.

On 5/12/20 8:56 AM, Jonathan Avila wrote:
> Hi, aria-expanded should be on the control that expands the content and not the expanded content itself. The content would ideally be wrapped in a region and associated with the control that controls it via aria-controls and aria-labelledby.
>
> Jonathan
>
>