]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Add dropdown menu accessibility callout and fix <a> example
authorPatrick H. Lauke <redux@splintered.co.uk>
Tue, 18 Apr 2017 08:34:55 +0000 (09:34 +0100)
committerGitHub <noreply@github.com>
Tue, 18 Apr 2017 08:34:55 +0000 (09:34 +0100)
commit9a3e002e8f92b09d027083d3fc74750d6e56ef6e
tree0a9126ce1692b1f89030d92e5479a190085649cd
parent6ae5fb12e6c996a6526250e8cb703b007e4213fc
Add dropdown menu accessibility callout and fix <a> example

As the question often comes up about why Bootstrap does not do "true"
ARIA menus (with their `role="menu"` etc), add an admittedly lengthy
note (tl;dr because BS is generic, and ARIA menus are specific and quite
limiting).

Additionally, fixes up the `<a>` example for dropdown trigger, with the
missing `role="button"` and neutering the `href` (which would be useless
anyway since BS overrides the link-like nature of the `<a>` so it could
never be triggered/followed anyway)
docs/components/dropdowns.md