WebAIM - Web Accessibility In Mind

E-mail List Archives

toggle aria-expanded in Bootstrap collapse component

for

From: Gijs Veyfeyken
Date: Jun 19, 2015 6:44AM


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