E-mail List Archives
Re: toggle aria-expanded in Bootstrap collapse component
From: Patrick H. Lauke
Date: Jun 19, 2015 9:37AM
- Next message: Patrick H. Lauke: "Re: toggle aria-expanded in Bootstrap collapse component"
- Previous message: Yamanishi, Evan: "Re: toggle aria-expanded in Bootstrap collapse component"
- Next message in Thread: Patrick H. Lauke: "Re: toggle aria-expanded in Bootstrap collapse component"
- Previous message in Thread: Yamanishi, Evan: "Re: toggle aria-expanded in Bootstrap collapse component"
- View all messages in this Thread
On 19/06/2015 13:44, Gijs Veyfeyken wrote:
> 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."
Your page is using Bootstrap 3.2.0
http://cdn.anysurfer.be/js/bootstrap.min.js
Upgrade to the current 3.3.5.
If you check the live example in the documentation, you should see that
aria-expanded is correctly updated on the toggling element.
P
--
Patrick H. Lauke
www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke
- Next message: Patrick H. Lauke: "Re: toggle aria-expanded in Bootstrap collapse component"
- Previous message: Yamanishi, Evan: "Re: toggle aria-expanded in Bootstrap collapse component"
- Next message in Thread: Patrick H. Lauke: "Re: toggle aria-expanded in Bootstrap collapse component"
- Previous message in Thread: Yamanishi, Evan: "Re: toggle aria-expanded in Bootstrap collapse component"
- View all messages in this Thread