From af0c1d8618a70a756a820ec3c9fd8dbc4807982c Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Sun, 5 Jun 2022 09:59:41 +0100 Subject: [PATCH] Improve accessible name of version dropdown in docs navbar (#36495) - add `aria-hidden="true"` to the "Bootstrap" text that is hidden on large screens - add separate visually-hidden "Bootstrap", which will be part of the accessible name regardless of whether the other string is visible or not (on large screen) - extra visually-hidden text to give some context - that the dropdown is about switching versions - remove the redundant id/aria-labelledby for the dropdown --- site/layouts/partials/docs-versions.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/layouts/partials/docs-versions.html b/site/layouts/partials/docs-versions.html index 54cf3a2e2a..2ebf4416d3 100644 --- a/site/layouts/partials/docs-versions.html +++ b/site/layouts/partials/docs-versions.html @@ -11,10 +11,10 @@ {{- end }}