Skip to content
This repository has been archived by the owner on Jul 4, 2019. It is now read-only.

Commit

Permalink
Updated pa11y-ci version and pa11y config to fix the failing build (#37)
Browse files Browse the repository at this point in the history
🐿 v2.10.3
  • Loading branch information
tbergmen authored Sep 12, 2018
1 parent 5875279 commit bfb3ae6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
10 changes: 3 additions & 7 deletions .pa11yci.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ const urls = [

const config = {
defaults: {
page: {
headers: {
'Cookie': 'next-flags=ads:off,cookieMessage:off; secure=true'
}
headers: {
'Cookie': 'next-flags=ads:off,cookieMessage:off; secure=true'
},
timeout: 25000,
rules: ['Principle1.Guideline1_3.1_3_1_AAA']
Expand All @@ -37,9 +35,7 @@ for (const viewport of viewports) {

config.urls.push({
url: url,
page: {
viewport: viewport
},
viewport: viewport,
screenCapture: `./pa11y_screenCapture/${path}.png`
});
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/Financial-Times/kat-footer.git"
},
"devDependencies": {
"@financial-times/n-gage": "^2.0.2",
"@financial-times/n-gage": "^2.0.4",
"@financial-times/n-heroku-tools": "^7.4.0",
"@financial-times/n-internal-tool": "^2.2.1",
"bower": "^1.7.9",
Expand All @@ -18,7 +18,7 @@
"lintspaces-cli": "^0.6.0",
"npm-prepublish": "^1.2.3",
"origami-build-tools": "^5.5.3",
"pa11y-ci": "^1.3.0",
"pa11y-ci": "^2.1.1",
"sass-lint": "^1.12.1"
},
"scripts": {
Expand Down

0 comments on commit bfb3ae6

Please sign in to comment.