From fe9f459be1771cfdbae3fe0b3dbee23add243688 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Thu, 2 Jun 2022 18:12:35 +0100 Subject: [PATCH] Remove confusing unnecessary id/aria-labelledby for dropdown menus see https://github.com/twbs/bootstrap/discussions/35755 Note that even the APG guide for disclosure widgets doesn't use this optional "nice-to-have" extra bit https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/ (though they do use `aria-controls`, which in most current browser/AT combos is borked though) --- js/tests/visual/dropdown.html | 20 +++---- js/tests/visual/scrollspy.html | 4 +- .../docs/5.2/components/button-group.md | 20 +++---- site/content/docs/5.2/components/dropdowns.md | 60 +++++++++---------- site/content/docs/5.2/components/navbar.md | 16 ++--- site/content/docs/5.2/components/offcanvas.md | 4 +- .../5.2/examples/cheatsheet-rtl/index.html | 36 +++++------ .../docs/5.2/examples/cheatsheet/index.html | 36 +++++------ .../docs/5.2/examples/headers/index.html | 12 ++-- .../5.2/examples/navbar-bottom/index.html | 4 +- .../5.2/examples/navbars-offcanvas/index.html | 12 ++-- .../docs/5.2/examples/navbars/index.html | 44 +++++++------- .../5.2/examples/offcanvas-navbar/index.html | 4 +- .../docs/5.2/examples/sidebars/index.html | 12 ++-- .../partials/home/masthead-followup.html | 8 +-- 15 files changed, 146 insertions(+), 146 deletions(-) diff --git a/js/tests/visual/dropdown.html b/js/tests/visual/dropdown.html index 9524cccec025..04cf06d7b62c 100644 --- a/js/tests/visual/dropdown.html +++ b/js/tests/visual/dropdown.html @@ -28,8 +28,8 @@

Dropdown Bootstrap Visual Test

Link