Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Dec 4, 2021
1 parent 1884e36 commit 134dc7c
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 675 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,10 @@ jobs:
- 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/
name: pa11yci-report
path: pa11yci-report.html
if-no-files-found: error
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ Thumbs.db
# Folders to ignore
/js/coverage/
/node_modules/
/pa11y-ci-report/
/pa11y-ci-results.json
/pa11yci-report.html
11 changes: 0 additions & 11 deletions build/.pa11yci.json

This file was deleted.

17 changes: 17 additions & 0 deletions build/pa11yci.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
'use strict'

module.exports = {
standard: 'WCAG2AA',
level: 'error',
concurrency: 4,
defaults: {
reporters: [
'cli',
'pa11y-reporter-html'
],
runners: [
'htmlcs'
],
hideElements: '.bd-search'
}
}
Loading

0 comments on commit 134dc7c

Please sign in to comment.