Skip to content

Commit

Permalink
fixing path
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbuckley committed Feb 13, 2025
1 parent 3d6f7dd commit 08a556a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/check_a11y_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
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
path=$(echo "${f#_site/}")
echo "Checking $path"
npx @axe-core/cli --exit --tags wcag2aa http://localhost/$path
done

0 comments on commit 08a556a

Please sign in to comment.