Skip to content

Commit

Permalink
install chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbuckley committed Feb 13, 2025
1 parent acbb9dc commit db75911
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/check_a11y_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
python-version: '3.11'
cache: 'pip'

- name: Set up Chrome
uses: browser-actions/setup-chrome@v1
with:
install-chromedriver: true

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -44,5 +49,5 @@ jobs:
echo "raw file: ${file}"
path=${file#_site/}
echo "path to check: ${path}"
npx @axe-core/cli --exit --tags wcag2aa --chrome-options="--user-data-dir=$(mktemp -d)" http://localhost:3000/$path
npx @axe-core/cli --exit --tags wcag2aa http://localhost:3000/$path
done

0 comments on commit db75911

Please sign in to comment.