]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
v4: Improve accessible name of version dropdown in docs navbar (#36504)
authorPatrick H. Lauke <redux@splintered.co.uk>
Sun, 5 Jun 2022 09:33:18 +0000 (10:33 +0100)
committerGitHub <noreply@github.com>
Sun, 5 Jun 2022 09:33:18 +0000 (10:33 +0100)
commit6fd203060baeb2c49bd4bb3f83a2837762802f95
tree1621ba0a3c4e3901c8179bf9b9cb3941b747035b
parentd136302a5710e61f36b5370e4e608d5582030f68
v4: Improve accessible name of version dropdown in docs navbar (#36504)

- add `sr-only` "Bootstrap", which will be part of the accessible name
- extra `sr-only` text to give some context - that the dropdown is about switching versions
- remove the redundant id/aria-labelledby for the dropdown
- change the control from `<a>` to `<button>`
site/layouts/partials/docs-navbar.html