about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-24 08:42:36 +0100
committerGitHub <noreply@github.com>2022-11-24 08:42:36 +0100
commita3371560ee465fb3a1d142b1f2672770887d3dd8 (patch)
treef811cf77d1ecdd6b33f807717853ffc7e2f150d3 /compiler/rustc_codegen_llvm/src
parent84ff4ab5a238558a009e1cc6f375b0922053b95b (diff)
parentaa73e29799456739128734b773d019c412d840c1 (diff)
downloadrust-a3371560ee465fb3a1d142b1f2672770887d3dd8.tar.gz
rust-a3371560ee465fb3a1d142b1f2672770887d3dd8.zip
Rollup merge of #104772 - GuillaumeGomez:small-accessibility-improvement, r=notriddle
Small accessibility improvements

From this [reddit post](https://www.reddit.com/r/rust/comments/z1gyz7/accessible_documentation/), I started to check a bit how to improve accessibility and how we could add test for it.

So these two fixes come from the use of the [pa11y tool](https://github.com/pa11y/pa11y). To make it work, I had to update its puppeteer version to the last one but otherwise it seems to be quite nice. I didn't fix all the errors it reported because they were about colors. To get the same result as mine, you can use this config:

```json
{
    "ignore": [
	"WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail",
	"WCAG2AA.Principle3.Guideline3_2.3_2_2.H32.2"
     ]
}
```

I think trying to improve accessibility is something we should definitely aim for. I'll try to integrate a tool to enforce this check (very likely `pa11y`) directly into the CI.

cc ``@jsha``
r? ``@notriddle``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions