From 9a3e002e8f92b09d027083d3fc74750d6e56ef6e Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Tue, 18 Apr 2017 09:34:55 +0100 Subject: [PATCH] Add dropdown menu accessibility callout and fix 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 `` 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 `` so it could never be triggered/followed anyway) --- docs/components/dropdowns.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/components/dropdowns.md b/docs/components/dropdowns.md index 0be8d4d74c..4da232b7d1 100644 --- a/docs/components/dropdowns.md +++ b/docs/components/dropdowns.md @@ -16,6 +16,16 @@ Dropdowns are toggleable, contextual overlays for displaying lists of links and Wrap the dropdown's toggle (your button or link) and the dropdown menu within `.dropdown`, or another element that declares `position: relative;`. Dropdowns can be triggered from `` or `