Librairie d'audit d'accessibilité
This commit is contained in:
@ -35,7 +35,7 @@ RUN apk add --no-cache \
|
||||
chromium \
|
||||
bash
|
||||
|
||||
RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install -g pa11y@next pa11y-reporter-html
|
||||
RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install -g pa11y pa11y-reporter-html@^1.0.0 pa11y-reporter-junit
|
||||
|
||||
RUN adduser -D pa11y
|
||||
|
||||
|
@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
envtpl -o patty.json /home/pa11y/patty.json.tmpl
|
||||
|
||||
mkdir -p reports
|
||||
@ -17,4 +15,4 @@ pa11y \
|
||||
--include-warnings \
|
||||
--include-notices \
|
||||
--reporter "${PA11Y_REPORTER}" \
|
||||
"$PA11Y_URL" > "pa11y.report.${PA11Y_REPORTER}" || exit 0
|
||||
"$PA11Y_URL" || exit 0
|
||||
|
Reference in New Issue
Block a user