pa11y integration

This commit is contained in:
Heydon Pickering 2017-12-06 10:18:34 +00:00
parent dda006483f
commit 64d9b0fa97
5 changed files with 53 additions and 35 deletions

View File

@ -422,9 +422,11 @@
<img src="https://thepaciellogroup.github.io/cupper/images/browser-firefox.svg" alt="">
<span><strong>Firefox </strong></span>
<img src="https://thepaciellogroup.github.io/cupper/images/browser-firefox.svg" alt="">
<span><strong>Firefox</strong></span>
<span class="additional">with <strong>JAWS</strong></span>
</td>
@ -433,8 +435,9 @@
<img src="https://thepaciellogroup.github.io/cupper/images/browser-chrome.svg" alt="">
<span><strong>Chrome</strong></span>
<img src="https://thepaciellogroup.github.io/cupper/images/browser-chrome.svg" alt="">
<span><strong>Chrome </strong></span>
</td>
@ -443,9 +446,11 @@
<img src="https://thepaciellogroup.github.io/cupper/images/browser-safari-ios.svg" alt="">
<span><strong>Safari iOS </strong></span>
<img src="https://thepaciellogroup.github.io/cupper/images/browser-safari-ios.svg" alt="">
<span><strong>Safari iOS</strong></span>
<span class="additional">with <strong>Voiceover</strong></span>
</td>
@ -454,8 +459,9 @@
<img src="https://thepaciellogroup.github.io/cupper/images/browser-edge.svg" alt="">
<span><strong>Edge</strong></span>
<img src="https://thepaciellogroup.github.io/cupper/images/browser-edge.svg" alt="">
<span><strong>Edge </strong></span>
</td>

View File

@ -2301,9 +2301,11 @@ npm run start
<img src="https://thepaciellogroup.github.io/cupper/images/browser-firefox.svg" alt="">
<span><strong>Firefox </strong></span>
<img src="https://thepaciellogroup.github.io/cupper/images/browser-firefox.svg" alt="">
<span><strong>Firefox</strong></span>
<span class="additional">with <strong>JAWS</strong></span>
</td>
@ -2312,8 +2314,9 @@ npm run start
<img src="https://thepaciellogroup.github.io/cupper/images/browser-chrome.svg" alt="">
<span><strong>Chrome</strong></span>
<img src="https://thepaciellogroup.github.io/cupper/images/browser-chrome.svg" alt="">
<span><strong>Chrome </strong></span>
</td>
@ -2322,9 +2325,11 @@ npm run start
<img src="https://thepaciellogroup.github.io/cupper/images/browser-safari-ios.svg" alt="">
<span><strong>Safari iOS </strong></span>
<img src="https://thepaciellogroup.github.io/cupper/images/browser-safari-ios.svg" alt="">
<span><strong>Safari iOS</strong></span>
<span class="additional">with <strong>Voiceover</strong></span>
</td>
@ -2333,8 +2338,9 @@ npm run start
<img src="https://thepaciellogroup.github.io/cupper/images/browser-edge.svg" alt="">
<span><strong>Edge</strong></span>
<img src="https://thepaciellogroup.github.io/cupper/images/browser-edge.svg" alt="">
<span><strong>Edge </strong></span>
</td>

File diff suppressed because one or more lines are too long

5
lib/.pa11yci Normal file
View File

@ -0,0 +1,5 @@
{
"defaults": {
"timeout": 5000
}
}

View File

@ -8,8 +8,9 @@
"serve": "hugo server --baseURL http://localhost:1313",
"clean": "node lib/clean.js",
"build": "node lib/build.js",
"update": "node lib/update.js"
},
"update": "node lib/update.js",
"a11y": "(npm list pa11y-ci || npm install -g pa11y-ci) && pa11y-ci --sitemap http://localhost:1313/sitemap.xml --config lib/.pa11yci"
},
"pre-commit": [
"build"
],