diff --git a/.github/workflows/check_a11y_docs.yml b/.github/workflows/check_a11y_docs.yml index 2e559ddc..4ea6323b 100644 --- a/.github/workflows/check_a11y_docs.yml +++ b/.github/workflows/check_a11y_docs.yml @@ -38,7 +38,9 @@ jobs: run: | # run npx serve in the background to serve the _site directory npx serve _site & + sleep 3 # for every recursively nested *.html file in _site, run a11y checks for file in $(find _site -name '*.html'); do + echo "Checking $file" npx @axe-core/cli --exit --tags wcag2aa http://localhost/$file done