0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/js/tests/unit
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
..
alert.js Rename .active to .show 2016-12-07 21:20:15 -07:00
button.js Only change aria-pressed if it's not an input-based radio or checkbox group 2017-04-10 14:43:54 +01:00
carousel.js Carousel - Add attributes from and to for Slid and Slide events (#21668) 2017-03-22 22:42:13 +01:00
collapse.js Fix collapse.js aria-expanded behavior 2017-04-10 14:51:22 +01:00
dropdown.js Dropdown: close menu when focusing outside element (#21375) 2017-01-02 14:44:27 -08:00
modal.js Fix #22332: Adjust tests for hidden scrollbar 2017-04-03 13:27:15 +02:00
phantom.js Make JS compliant with the new ESLint rules. 2016-11-24 11:59:55 +11:00
popover.js Popover + Tooltip - fix error when content or title is a number 2017-03-31 10:03:54 +02:00
scrollspy.js Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, .nav-item, <li> etc...) 2017-04-02 11:21:04 +02:00
tab.js Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, .nav-item, <li> etc...) 2017-04-02 11:21:04 +02:00
tooltip.js Popover + Tooltip - fix error when content or title is a number 2017-03-31 10:03:54 +02:00