From 08a556aaa2c17b1e2297e8b378384ca79cfe2ac1 Mon Sep 17 00:00:00 2001 From: Eric Buckley Date: Thu, 13 Feb 2025 11:59:46 -0800 Subject: [PATCH] fixing path --- .github/workflows/check_a11y_docs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_a11y_docs.yml b/.github/workflows/check_a11y_docs.yml index 4ea6323b..ffc41417 100644 --- a/.github/workflows/check_a11y_docs.yml +++ b/.github/workflows/check_a11y_docs.yml @@ -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