WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Best acccessible accordion widget example

for

From: Lovely, Brian (CONT)
Date: Dec 5, 2016 6:43AM


:" aria-expanded on a button is really all you need" ...with maybe the caveat that the content panel should be just after the triggering element, so that the expanded content is the next thing the user encounters.

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Paul J. Adam
Sent: Saturday, December 03, 2016 12:17 AM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Best acccessible accordion widget example

Yes aria-expanded on a button is really all you need. Here's a demo http://pauljadam.com/demos/aria-expanded.html <http://pauljadam.com/demos/aria-expanded.html>;

Bootstrap includes an accessible accordion, http://v4-alpha.getbootstrap.com/components/collapse/ <http://v4-alpha.getbootstrap.com/components/collapse/>;.

Paul J. Adam
Accessibility Evangelist
www.deque.com

> On Dec 2, 2016, at 7:44 PM, Birkir R. Gunnarsson < <EMAIL REMOVED> > wrote:
>
> Deque University has a few
> https://dequeuniversity.com/library/aria/tabpanels-accordions/
> (I worked on about half of them).
>
> I honestly think that any link or button with aria-expanded attribute
> properly toggled is sufficient.
> -B
>
>
> On 12/2/16, Bossley, Peter A. < <EMAIL REMOVED> > wrote:
>> Greetings,
>> Wondering what folks are pointing developers to for Accordions that
>> work well on desktop and mobile web browsers / screen readers.
>> Obviously we want keyboard accessible as well.
>> I like the Assets Framework but was wondering if there is a better
>> example out there.
>> Best,
>>
>>
>> >> >> archives at http://webaim.org/discussion/archives
>> >>
>
>
> --
> Work hard. Have fun. Make history.
> > > archives at http://webaim.org/discussion/archives
> The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.