Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

fix: Bug 1459547, add pa11y for automated local a11y testing #4768

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
module.exports = {
'env': {
'browser': true,
'es6': true,
'jquery': true
},
parserOptions: {
ecmaVersion: 8
},
'extends': 'eslint:recommended',
'rules': {
'no-global-assign': 'error',
Expand Down Expand Up @@ -62,6 +66,7 @@ module.exports = {
'Mozilla': true,
'waffle': true,
'Prism': true,
'Promise': true
'Promise': true,
'require': true
}
};
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ mdn_sample_db.sql.gz
node_modules/
/static/
/tmp/emails/*.log
pa11y-results

# Selenium
geckodriver.log
Expand Down
11 changes: 11 additions & 0 deletions .pa11y
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"urls": [
"http://localhost:8000/",
"http://localhost:8000/en-US/docs/Web/HTML",
"http://localhost:8000/en-US/docs/Learn",
"http://localhost:8000/en-US/docs/Web/Guide",
"http://localhost:8000/en-US/docs/MDN/Feedback",
"http://localhost:8000/en-US/docs/Web/JavaScript",
"http://localhost:8000/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/concat"
]
}
14 changes: 14 additions & 0 deletions .pa11yci-prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"defaults": {
"timeout": 1500,
},
"urls": [
"https://developer.mozilla.org/",
"https://developer.mozilla.org/en-US/docs/Web/HTML",
"https://developer.mozilla.org/en-US/docs/Learn",
"https://developer.mozilla.org/en-US/docs/Web/Guide",
"https://developer.mozilla.org/en-US/docs/MDN/Feedback",
"https://developer.mozilla.org/en-US/docs/Web/JavaScript",
"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/concat"
]
}
Loading