From: Patrick H. Lauke Date: Sun, 5 Jun 2022 08:59:41 +0000 (+0100) Subject: Improve accessible name of version dropdown in docs navbar (#36495) X-Git-Tag: v5.2.0~74 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af0c1d8618a70a756a820ec3c9fd8dbc4807982c;p=thirdparty%2Fbootstrap.git 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 --- 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 }}