diff --git a/package-lock.json b/package-lock.json index 18155b87..36465ac8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ }, "devDependencies": { "@ampproject/remapping": "2.3.0", - "@axe-core/puppeteer": "4.7.3", + "@axe-core/puppeteer": "4.9.1", "@babel/core": "7.24.9", "@babel/preset-env": "7.24.8", "@babel/preset-typescript": "7.24.7", @@ -42,7 +42,7 @@ "@vue/compiler-sfc": "3.3.4", "ansi-regex": "6.0.1", "aria-query": "5.1.3", - "axe-core": "4.7.2", + "axe-core": "4.9.1", "babel-plugin-un-cjs": "2.6.0", "dom-accessibility-api": "0.6.1", "errorstacks": "2.4.1", @@ -127,12 +127,13 @@ } }, "node_modules/@axe-core/puppeteer": { - "version": "4.7.3", - "resolved": "https://registry.npmjs.org/@axe-core/puppeteer/-/puppeteer-4.7.3.tgz", - "integrity": "sha512-a+fkO0l4hHehEqHPJBhkZv0lz7SZlDMnYE52Sx2JuX0AMfcgL+UxcPo0QrS9LaqNXXhU67xCCqQVSinlGFixcQ==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@axe-core/puppeteer/-/puppeteer-4.9.1.tgz", + "integrity": "sha512-eakSzSS0Zmk7EfX2kUn1jfZsO7gmvjhNnwvBxv9o6HXvwZE5ME/CTi3v2HJMvC+dn3LlznEEdzBB87AyHvcP5A==", "dev": true, + "license": "MPL-2.0", "dependencies": { - "axe-core": "^4.7.0" + "axe-core": "~4.9.1" }, "engines": { "node": ">=6.4.0" @@ -6003,10 +6004,11 @@ } }, "node_modules/axe-core": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.2.tgz", - "integrity": "sha512-zIURGIS1E1Q4pcrMjp+nnEh+16G56eG/MUllJH8yEvw7asDo7Ac9uhC9KIH5jzpITueEZolfYglnCGIuSBz39g==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.9.1.tgz", + "integrity": "sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw==", "dev": true, + "license": "MPL-2.0", "engines": { "node": ">=4" } diff --git a/package.json b/package.json index 04d77e57..9fcfa150 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ }, "devDependencies": { "@ampproject/remapping": "2.3.0", - "@axe-core/puppeteer": "4.7.3", + "@axe-core/puppeteer": "4.9.1", "@babel/core": "7.24.9", "@babel/preset-env": "7.24.8", "@babel/preset-typescript": "7.24.7", @@ -39,7 +39,7 @@ "@vue/compiler-sfc": "3.3.4", "ansi-regex": "6.0.1", "aria-query": "5.1.3", - "axe-core": "4.7.2", + "axe-core": "4.9.1", "babel-plugin-un-cjs": "2.6.0", "dom-accessibility-api": "0.6.1", "errorstacks": "2.4.1", diff --git a/tests/accessibility/toPassAxeTests.test.ts b/tests/accessibility/toPassAxeTests.test.ts index f336e5d1..ce82bf51 100644 --- a/tests/accessibility/toPassAxeTests.test.ts +++ b/tests/accessibility/toPassAxeTests.test.ts @@ -13,7 +13,7 @@ test( Violations found: Images must have alternate text (image-alt) - https://dequeuniversity.com/rules/axe/4.7/image-alt?application=axe-puppeteer + https://dequeuniversity.com/rules/axe/4.9/image-alt?application=axe-puppeteer Affected Nodes: @@ -25,7 +25,7 @@ test( • Element's default semantics were not overridden with role="none" or role="presentation" Document should have one main landmark (landmark-one-main) - https://dequeuniversity.com/rules/axe/4.7/landmark-one-main?application=axe-puppeteer + https://dequeuniversity.com/rules/axe/4.9/landmark-one-main?application=axe-puppeteer Affected Nodes: @@ -38,7 +38,7 @@ test( • Document does not have a main landmark. Page should contain a level-one heading (page-has-heading-one) - https://dequeuniversity.com/rules/axe/4.7/page-has-heading-one?application=axe-puppeteer + https://dequeuniversity.com/rules/axe/4.9/page-has-heading-one?application=axe-puppeteer Affected Nodes: @@ -51,7 +51,7 @@ test( • Page must have a level-one heading. All page content should be contained by landmarks (region) - https://dequeuniversity.com/rules/axe/4.7/region?application=axe-puppeteer + https://dequeuniversity.com/rules/axe/4.9/region?application=axe-puppeteer Affected Nodes: @@ -95,7 +95,7 @@ test( Violations found: Document should have one main landmark (landmark-one-main) - https://dequeuniversity.com/rules/axe/4.7/landmark-one-main?application=axe-puppeteer + https://dequeuniversity.com/rules/axe/4.9/landmark-one-main?application=axe-puppeteer Affected Nodes: @@ -116,7 +116,7 @@ test( • Document does not have a main landmark. Page should contain a level-one heading (page-has-heading-one) - https://dequeuniversity.com/rules/axe/4.7/page-has-heading-one?application=axe-puppeteer + https://dequeuniversity.com/rules/axe/4.9/page-has-heading-one?application=axe-puppeteer Affected Nodes: @@ -137,7 +137,7 @@ test( • Page must have a level-one heading.  elements with an img role must have an alternative text (svg-img-alt) - https://dequeuniversity.com/rules/axe/4.7/svg-img-alt?application=axe-puppeteer + https://dequeuniversity.com/rules/axe/4.9/svg-img-alt?application=axe-puppeteer Affected Nodes: