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

@ -419,43 +419,49 @@
<td> <td>
<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> <span class="additional">with <strong>JAWS</strong></span>
</td> </td>
<td> <td>
<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> </td>
<td> <td>
<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> <span class="additional">with <strong>Voiceover</strong></span>
</td> </td>
<td> <td>
<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> </td>

View File

@ -2298,43 +2298,49 @@ npm run start
<td> <td>
<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> <span class="additional">with <strong>JAWS</strong></span>
</td> </td>
<td> <td>
<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> </td>
<td> <td>
<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> <span class="additional">with <strong>Voiceover</strong></span>
</td> </td>
<td> <td>
<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> </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", "serve": "hugo server --baseURL http://localhost:1313",
"clean": "node lib/clean.js", "clean": "node lib/clean.js",
"build": "node lib/build.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": [ "pre-commit": [
"build" "build"
], ],