diff --git a/.github/workflows/check_a11y_docs.yml b/.github/workflows/check_a11y_docs.yml index 43863997..3810e34b 100644 --- a/.github/workflows/check_a11y_docs.yml +++ b/.github/workflows/check_a11y_docs.yml @@ -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 @@ -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