Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2022-06-03 13:18:22 +0300
committerGitHub <noreply@github.com>2022-06-03 13:18:22 +0300
commit8965b11dd5ec9f6d353c53b58e256880d6a96703 (patch)
tree03cd881cb6c7d1bb55c87e2a398c17936beb6a2b /js/tests/visual/scrollspy.html
parent3102b4a3e9a7af8737b5330ccf5c6879022577b4 (diff)
Remove confusing unnecessary id/aria-labelledby for dropdown menus (#36487)
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)
Diffstat (limited to 'js/tests/visual/scrollspy.html')
-rw-r--r--js/tests/visual/scrollspy.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/visual/scrollspy.html b/js/tests/visual/scrollspy.html
index 7999b0ee78..2daa7abd69 100644
--- a/js/tests/visual/scrollspy.html
+++ b/js/tests/visual/scrollspy.html
@@ -24,8 +24,8 @@
<a class="nav-link" href="#mdo">@mdo</a>
</li>
<li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="dropdown" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</a>
- <ul class="dropdown-menu" aria-labelledby="dropdown">
+ <a class="nav-link dropdown-toggle" href="#" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</a>
+ <ul class="dropdown-menu">
<li><a class="dropdown-item" href="#one">One</a></li>
<li><a class="dropdown-item" href="#two">Two</a></li>
<li><a class="dropdown-item" href="#three">Three</a></li>