]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Add aria-haspopup and aria-expanded attributes to dropdown plugin 13664/head
authorMax Kramer <mckramer@gmail.com>
Thu, 22 May 2014 22:13:41 +0000 (18:13 -0400)
committerMax Kramer <mckramer@gmail.com>
Thu, 22 May 2014 22:13:41 +0000 (18:13 -0400)
commitee12ce83057233d271f42162ef3dd2d42d315176
tree4d9004c1ff822cfa0344fc1462148a07824652cd
parentcae7dee2361c7023bd147570509a0c40ade3c4e9
Add aria-haspopup and aria-expanded attributes to dropdown plugin

1. Add aria-haspopup="true" and aria-expanded="false" to dropdown docs
2. Toggle aria-expanded between "true" and "false" when opening and closing dropdown

Satisfy item 1 from https://github.com/paypal/bootstrap-accessibility-plugin#dropdown. See #13553.
docs/_includes/js/dropdowns.html
js/dropdown.js