0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/js/tests/visual
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
..
alert.html tests: use jQuery from node_modules. (#28059) 2019-01-15 18:01:40 +02:00
button.html tests: use jQuery from node_modules. (#28059) 2019-01-15 18:01:40 +02:00
carousel.html tests: use jQuery from node_modules. (#28059) 2019-01-15 18:01:40 +02:00
collapse.html tests: use jQuery from node_modules. (#28059) 2019-01-15 18:01:40 +02:00
dropdown.html Remove incorrect aria-haspopup from dropdown toggles (#28299) 2019-02-19 11:25:36 +02:00
modal.html tests: use jQuery from node_modules. (#28059) 2019-01-15 18:01:40 +02:00
popover.html tests: use jQuery from node_modules. (#28059) 2019-01-15 18:01:40 +02:00
scrollspy.html Remove incorrect aria-haspopup from dropdown toggles (#28299) 2019-02-19 11:25:36 +02:00
tab.html Remove incorrect aria-haspopup from dropdown toggles (#28299) 2019-02-19 11:25:36 +02:00
toast.html tests: use jQuery from node_modules. (#28059) 2019-01-15 18:01:40 +02:00
tooltip.html tests: use jQuery from node_modules. (#28059) 2019-01-15 18:01:40 +02:00