Skip to content

Commit b8fab32

Browse files
authored
fix(pa11y): conditions (#1079)
1 parent dcfecca commit b8fab32

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.pa11yci

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail"
77
],
88
"chromeLaunchConfig": {
9-
"executablePath": "/usr/bin/google-chrome"
9+
"executablePath": "/usr/bin/google-chrome",
10+
"args": [
11+
"--no-sandbox"
12+
]
1013
}
1114
},
1215
"urls": [

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"test": "start-server-and-test start :8080 'npm-run-all test:accessibility'",
1313
"test:visual-regression:test": "backstop test --config=./tests/backstop.json",
1414
"test:visual-regression:approve": "backstop approve --config=./tests/backstop.json",
15-
"test:accessibility": "npx pa11y-ci",
15+
"test:accessibility": "npx --no pa11y-ci",
1616
"test:lighthouse": "npx lighthouse http://localhost:8080/patterns/pages-sample-page/pages-sample-page.rendered.html --budget-path=.lighthouse-budget.json --view",
1717
"test:webhint": "npx hint http://localhost:8080/styleguide/html/styleguide.html",
1818
"lint": "npm-run-all -p lint:*",

0 commit comments

Comments
 (0)