WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: toggle aria-expanded in Bootstrap collapse component

for

From: Yamanishi, Evan
Date: Jun 19, 2015 8:30AM


Oddly enough, the issue for this in the Bootstrap repo was just updated yesterday, the first time in 8 months. Some of PayPal's Bootstrap Accessibility Plugin work seems to be very slowly being committed to Bootstrap, but most of the issue tickets are tagged with "help wanted." I'm guessing they could use our help...

Bootstrap accessibility issues: https://github.com/twbs/bootstrap/labels/accessibility
Bootstrap collapse issue: https://github.com/twbs/bootstrap/issues/13555
PayPal's Bootstrap Accessibility Plugin: http://paypal.github.io/bootstrap-accessibility-plugin/

Evan

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Gijs Veyfeyken
Sent: Friday, June 19, 2015 8:44 AM
To: <EMAIL REMOVED>
Subject: [WebAIM] toggle aria-expanded in Bootstrap collapse component

Hi,

I noticed that the aria-expanded attribute doesn't automatically toggle from true to false when a panel opens or closes.

Demo:
http://gijs.anysurfer.be/test/collapse.html <http://gijs.anysurfer.be/test/collapse.html>;

http://getbootstrap.com/javascript/#collapse <http://getbootstrap.com/javascript/#collapse>;
"The plugin will automatically toggle this attribute based on whether or not the collapsible element has been opened or closed."

File a bug or am I doing something wrong?

Kind regards,

Gijs

---
Gijs Veyfeyken
AnySurfer - towards an accessible internet http://www.anysurfer.be/en <http://www.anysurfer.be/en>; Brussels - Belgium