

ARIA menus can only contain menu items, checkbox menu items, radio button menu items, radio button groups, and sub-menus.īootstrap’s dropdowns, on the other hand, are designed to be generic and applicable to a variety of situations and markup structures. The WAI ARIA standard defines an actual role="menu" widget, but this is specific to application-like menus which trigger actions or functions. If you’re building our JavaScript from source, it requires util.js. Popper.js isn’t used to position dropdowns in navbars though as dynamic positioning isn’t required. Be sure to include before Bootstrap’s JavaScript or use / which contains Popper.js.

They’re toggled by clicking, not by hovering this is an intentional design decision.ĭropdowns are built on a third party library, Popper.js, which provides dynamic positioning and viewport detection. They’re made interactive with the included Bootstrap dropdown JavaScript plugin. Overviewĭropdowns are toggleable, contextual overlays for displaying lists of links and more. Toggle contextual overlays for displaying lists of links and more with the Bootstrap dropdown plugin.
