bootstrap/js/tests/unit
Patrick H. Lauke 4b00aa6c4e Remove incorrect aria-haspopup from dropdown toggles (#28299)
`aria-haspopup` use requires the use of an ARIA `menu`, `listbox`, `tree`, `grid` or `dialog` (see https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup)

in our use (as generic disclosure widgets), it's incorrect and sets up the wrong assumption/behavior from assistive technologies.

in future, we likely want to change our dropdowns to essentially be like a `dialog` - move focus to it when opened, possibly make it modal so focus is maintained inside it and the rest of the page
is hidden/inert.

but for now, removing the incorrect attribute is probably the quickest, most immediate fix.
2019-02-19 11:25:36 +02:00
..
.eslintrc.json avoid console call in our unit tests (#27790) 2018-12-06 10:51:35 +02:00
alert.js chore(deps): update qunit and karma-qunit 2018-05-22 17:26:21 +03:00
button.js Change button checkbox/radios to ignore hidden input fields (#27802) 2018-12-10 10:40:08 +02:00
carousel.js Fix Carousel's touch option to not add touch listeners when set to false (#28046) 2019-01-14 18:53:54 +02:00
collapse.js collapse children with no data-parent 2018-09-10 21:10:00 +02:00
dropdown.js Remove incorrect aria-haspopup from dropdown toggles (#28299) 2019-02-19 11:25:36 +02:00
modal.js fix modal test to be sure we call getTransitionDurationFromElement 2019-02-06 15:01:13 +01:00
popover.js chore(deps): update qunit and karma-qunit 2018-05-22 17:26:21 +03:00
scrollspy.js chore(deps): update qunit and karma-qunit 2018-05-22 17:26:21 +03:00
tab.js fix tabs, apply show class only when fade class is present (#28183) 2019-02-06 11:12:02 +01:00
toast.js allow to override default toast options (#28186) 2019-02-06 15:19:04 +02:00
tooltip.js Add sanitize template option for tooltip/popover plugins. 2019-02-13 08:32:15 +02:00
util.js getSelectorFromElement return null on bad selectors (#27912) 2018-12-23 14:30:35 +02:00