diff --git a/Makefile b/Makefile index 32822c9..9f22395 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ lint-css: $(CSS_DIR)/*.css equal-access: cp -r $(OUTPUT_DIR) $(OUTPUT_DIR).eac find $(OUTPUT_DIR).eac -type f -name "*.html" | xargs -n1 sd 'content-visibility:auto;' '' - achecker $(OUTPUT_DIR).eac/ + pnpm --package accessibility-checker dlx achecker $(OUTPUT_DIR).eac/ rm -rf $(OUTPUT_DIR).eac .PHONY: validate-json diff --git a/scripts/bin/axe-ff b/scripts/bin/axe-ff index 8c7d5b6..d0cb3ef 100755 --- a/scripts/bin/axe-ff +++ b/scripts/bin/axe-ff @@ -5,4 +5,4 @@ PATH="scripts/bin:$PATH" output_dir="$1" shift urls="$(echo "$*" | tr ' ' '\n' | sd '^https?://[^/]*' "file://$PWD/$output_dir" | sd '/$' '/index.html' | tr '\n' ' ')" -axe $urls -b firefox --show-errors +pnpm --package @axe-core/cli -s dlx axe $urls -b firefox --show-errors