Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Testing with pa11y
This [resource](https://bitsofco.de/pa11y/) is a good start to create your own testing pipeline.
## Quick and simple overview
```
npm install -g pa11y
```
```
pa11y https://data.beta.grandlyon.com/fr/accueil
```
## Display only critical errors
```
pa11y https://data.beta.grandlyon.com/fr/accueil --ignore "warning;notice"
```
## Using the pa11y-ci
```
npm install -g pa11y-ci
```
Then create a **.pa11y1** json file.
```
{
"urls": [
"https://data.beta.grandlyon.com/fr/accueil"
]
}
```
To run the report on multiple URLs:
```
pay11-ci
```
It is also possible to save the report as a json file:
```
pay11-ci --json > report.json
```