]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #87663 - GuillaumeGomez:rustdoc-brace-minus-brace, r=notriddle
authorYuki Okushi <jtitor@2k36.org>
Tue, 3 Aug 2021 23:05:53 +0000 (08:05 +0900)
committerGitHub <noreply@github.com>
Tue, 3 Aug 2021 23:05:53 +0000 (08:05 +0900)
commit75e14873b83f458841f815ccb3b7f4eac83b4327
treef4606a92ba8259407228ee9afc8fce7a049bb128
parent87c820573a0ed8733523bb697a78021620a9bf94
parent6fe09722ea0762405558b6ea5eb5f765a24af9df
Rollup merge of #87663 - GuillaumeGomez:rustdoc-brace-minus-brace, r=notriddle

Rustdoc accessibility: use an icon for the [-]/[+] controls

This is a reopening of #87207 with improvement for the way of generating the `background-image` CSS property.

I quote from the original PR:

> This way, we can show the plus and minus buttons on screens, while voice
> control will read off actual words "Collapse" and "Expand" instead of reading
> "open brace minus close brace" and "open brace plus close brace".

Part of #87059

r? ``@notriddle``