Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/axe-a11y-check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: axe

on:
push:
branches:
Expand All @@ -8,6 +9,7 @@ on:
branches:
- master
- develop

jobs:
axe:
runs-on: ubuntu-latest
Expand All @@ -27,7 +29,12 @@ jobs:
- name: Install specific version of ChromeDriver
run: npm install -g chromedriver@125
- name: Run axe
id: axe-test
run: |
npm install -g @axe-core/cli
sleep 90
axe http://127.0.0.1:8080 --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver --exit
axe http://127.0.0.1:8080 --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver --exit || echo "status=warning" >> $GITHUB_ENV

- name: Set output status to warning (if test fails)
if: env.status == 'warning'
run: echo "::warning::Accessibility tests failed, but this does not block (most) PRs."
Loading