mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
Support running axe-core with Firefox
This commit is contained in:
parent
8c8b2fe51b
commit
4b42a8686d
2 changed files with 3 additions and 1 deletions
|
@ -26,6 +26,8 @@ redbot:
|
||||||
redbot_cli -a $(URL)
|
redbot_cli -a $(URL)
|
||||||
axe:
|
axe:
|
||||||
axe $(URLS) --chrome-options $(CHROME_FLAGS_COMMA) --chromedriver-path=$(CHROMEDRIVER_PATH) --show-errors
|
axe $(URLS) --chrome-options $(CHROME_FLAGS_COMMA) --chromedriver-path=$(CHROMEDRIVER_PATH) --show-errors
|
||||||
|
axe-ff:
|
||||||
|
PATH=scripts/bin:$(PATH) axe $(URLS) -b firefox --show-errors
|
||||||
equal-access:
|
equal-access:
|
||||||
@echo $(URLS) | tr ' ' '\n' >urls.txt
|
@echo $(URLS) | tr ' ' '\n' >urls.txt
|
||||||
achecker --reportLevels violation,recommendation,potentialrecommendation urls.txt
|
achecker --reportLevels violation,recommendation,potentialrecommendation urls.txt
|
||||||
|
|
|
@ -15,5 +15,5 @@ cleanup() {
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
|
||||||
export XMLLINT_INDENT=' '
|
export XMLLINT_INDENT=' '
|
||||||
time -p find "$output_dir" -type f -name '*.html' | xargs -n1 sh "$script_dir/xhtmlize-single-file.sh"
|
find "$output_dir" -type f -name '*.html' | xargs -n1 sh "$script_dir/xhtmlize-single-file.sh"
|
||||||
# done
|
# done
|
||||||
|
|
Loading…
Reference in a new issue