about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-02-27 21:56:23 +0100
committerGitHub <noreply@github.com>2021-02-27 21:56:23 +0100
commita70be0bec92d59674348b22790b1b3681415d4e3 (patch)
treeae6b75122dcbb8935422377001666ba89a319cf2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb5f5c106c005559c015dd5d20aa517ca7cbf5aa3 (diff)
parente026e18e3fe7c19e7072cac86b9e9296d551ab5b (diff)
downloadrust-a70be0bec92d59674348b22790b1b3681415d4e3.tar.gz
rust-a70be0bec92d59674348b22790b1b3681415d4e3.zip
Rollup merge of #82584 - tazjin:rustdoc-aria, r=GuillaumeGomez
Add ARIA role to sidebar toggle in Rustdoc

This indicates that the div is an interactive element, and makes the sidebar toggle "clickable" in assistive technologies.

Example of Vimium after this change has been applied (see the issue mentioned below for a screenshot of before):

![Screenshot of Vimium link hints on a Rustdoc page, indicating that the sidebar toggle is clickable](https://user-images.githubusercontent.com/1552853/109384961-ff935400-78f8-11eb-8199-1d35181aeff0.png)

Fixes #82582
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions