0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/js
Patrick H. Lauke 18e8704221 Fix collapse.js aria-expanded behavior
* Remove aria-expanded from collapse.js target element

aria-expanded="true"/aria-expanded="false" only applies to the trigger,
not the element that is being expanded/collapsed.

* Tweak collapse.js accessibility section

...to make it clearer that the aria-expanded attribute always just goes
on the control.

* Fix collapse.js unit tests

- reword some of the text to make it clear we're checking behavior of
trigger/control
- move incorrect aria-expanded out of the <div>s and to the actual
trigger/control <a>s
- fix incorrect test assertion text output false -> true
2017-04-10 14:51:22 +01:00
..
dist grunt 2017-04-08 13:22:53 -07:00
src Fix collapse.js aria-expanded behavior 2017-04-10 14:51:22 +01:00
tests Fix collapse.js aria-expanded behavior 2017-04-10 14:51:22 +01:00
.eslintrc.json Update config files across the board. 2017-03-12 16:15:00 +11:00