Fix axe checks by changing versions

This commit is contained in:
Tessa Kelly 2024-02-01 15:25:56 -07:00
parent 54a3a00d63
commit 86e887fcf3
3 changed files with 8 additions and 7 deletions

12
package-lock.json generated
View File

@ -728,9 +728,9 @@
"dev": true
},
"node_modules/axe-core": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.0.tgz",
"integrity": "sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==",
"version": "4.8.3",
"resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.8.3.tgz",
"integrity": "sha512-d5ZQHPSPkF9Tw+yfyDcRoUOc4g/8UloJJe5J8m4L5+c7AtDdjDLRxew/knnI4CxvtdxEUVgWz4x3OIQUIFiMfw==",
"dev": true,
"engines": {
"node": ">=4"
@ -5351,9 +5351,9 @@
"dev": true
},
"axe-core": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.0.tgz",
"integrity": "sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==",
"version": "4.8.3",
"resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.8.3.tgz",
"integrity": "sha512-d5ZQHPSPkF9Tw+yfyDcRoUOc4g/8UloJJe5J8m4L5+c7AtDdjDLRxew/knnI4CxvtdxEUVgWz4x3OIQUIFiMfw==",
"dev": true
},
"balanced-match": {

View File

@ -30,7 +30,7 @@
"@axe-core/puppeteer": "^4.4.3",
"@percy/cli": "^1.4.0",
"@percy/puppeteer": "^2.0.2",
"axe-core": "^4.7.0",
"axe-core": "^4.8.3",
"browserify": "^17.0.0",
"elm-test": "0.19.1-revision12",
"expect": "29.5.0",

View File

@ -230,6 +230,7 @@ describe("UI tests", function () {
};
const skippedRules = {
Block: ["scrollable-region-focusable"],
// Loading's color contrast check seems to change behavior depending on whether Percy snapshots are taken or not
Loading: ["color-contrast"],
Outline: ["color-contrast"],