2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

Add pa11y-ci for accessibility testing.

Use pa11y-ci-reporter-html and also upload the HTML results to CI if there are any failures
This commit is contained in:
XhmikosR
2019-08-28 17:05:00 +03:00
parent a780d74b28
commit 1884e36dce
5 changed files with 2204 additions and 1 deletions
+15
View File
@@ -32,3 +32,18 @@ jobs:
- name: Test docs
run: npm run docs
- name: Run accessibility tests
run: npm run docs-accessibility
- name: Generate HTML accessibility results
run: npm run docs-pa11y-html
if: failure()
- name: Upload accessibility results
uses: actions/upload-artifact@v2
if: failure()
with:
name: pa11y-ci-results
path: pa11y-ci-report/
if-no-files-found: error