E-mail List Archives
Re: ARIA roles and multiple descendants
From: glen walker
Date: May 16, 2020 9:29AM
- Next message: glen walker: "Re: Cross Screen Reader testing"
- Previous message: Steve Green: "Re: Cross Screen Reader testing"
- Next message in Thread: Birkir R. Gunnarsson: "Re: ARIA roles and multiple descendants"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: ARIA roles and multiple descendants"
- View all messages in this Thread
I had tried using detail/summary in the past and didn't get good results
across NVDA, JAWS, and VoiceOver with various browsers but it's been a
while. Have you tested it widely to see if things have gotten better?
On Sat, May 16, 2020 at 3:52 AM Birkir R. Gunnarsson <
<EMAIL REMOVED> > wrote:
> You can use <details>/</summary> for this
> <details>
> <summary>What is an email address?</summary>
> <p>Glad you asked.</p>
> </details>
> The summary element becomes a real button with aria-expanded, the
> paragraph with "glad you asked" is the content that is
> displayed/hidden when you toggle the button.
> Browser handles the displaying or hiding and setting the aria-expanded
> attribute to match.
>
>
>
- Next message: glen walker: "Re: Cross Screen Reader testing"
- Previous message: Steve Green: "Re: Cross Screen Reader testing"
- Next message in Thread: Birkir R. Gunnarsson: "Re: ARIA roles and multiple descendants"
- Previous message in Thread: Birkir R. Gunnarsson: "Re: ARIA roles and multiple descendants"
- View all messages in this Thread