From 57ba823262b0f5f9b536da5de7abccc85e840f62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Oct 2025 21:57:46 +0000 Subject: [PATCH 1/2] chore(deps): Bump @axe-core/playwright in /.github/actions/find Bumps [@axe-core/playwright](https://github.com/dequelabs/axe-core-npm) from 4.10.2 to 4.11.0. - [Release notes](https://github.com/dequelabs/axe-core-npm/releases) - [Changelog](https://github.com/dequelabs/axe-core-npm/blob/develop/CHANGELOG.md) - [Commits](https://github.com/dequelabs/axe-core-npm/commits) --- updated-dependencies: - dependency-name: "@axe-core/playwright" dependency-version: 4.11.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/actions/find/package-lock.json | 16 ++++++++-------- .github/actions/find/package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/find/package-lock.json b/.github/actions/find/package-lock.json index f14dfb2..5fa4f04 100644 --- a/.github/actions/find/package-lock.json +++ b/.github/actions/find/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@actions/core": "^1.11.1", - "@axe-core/playwright": "^4.10.2", + "@axe-core/playwright": "^4.11.0", "playwright": "^1.56.1" }, "devDependencies": { @@ -54,12 +54,12 @@ "license": "MIT" }, "node_modules/@axe-core/playwright": { - "version": "4.10.2", - "resolved": "https://registry.npmjs.org/@axe-core/playwright/-/playwright-4.10.2.tgz", - "integrity": "sha512-6/b5BJjG6hDaRNtgzLIfKr5DfwyiLHO4+ByTLB0cJgWSM8Ll7KqtdblIS6bEkwSF642/Ex91vNqIl3GLXGlceg==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@axe-core/playwright/-/playwright-4.11.0.tgz", + "integrity": "sha512-70vBT/Ylqpm65RQz2iCG2o0JJCEG/WCNyefTr2xcOcr1CoSee60gNQYUMZZ7YukoKkFLv26I/jjlsvwwp532oQ==", "license": "MPL-2.0", "dependencies": { - "axe-core": "~4.10.3" + "axe-core": "~4.11.0" }, "peerDependencies": { "playwright-core": ">= 1.0.0" @@ -85,9 +85,9 @@ } }, "node_modules/axe-core": { - "version": "4.10.3", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.3.tgz", - "integrity": "sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.11.0.tgz", + "integrity": "sha512-ilYanEU8vxxBexpJd8cWM4ElSQq4QctCLKih0TSfjIfCQTeyH/6zVrmIJfLPrKTKJRbiG+cfnZbQIjAlJmF1jQ==", "license": "MPL-2.0", "engines": { "node": ">=4" diff --git a/.github/actions/find/package.json b/.github/actions/find/package.json index a2df8a9..833181a 100644 --- a/.github/actions/find/package.json +++ b/.github/actions/find/package.json @@ -14,7 +14,7 @@ "type": "module", "dependencies": { "@actions/core": "^1.11.1", - "@axe-core/playwright": "^4.10.2", + "@axe-core/playwright": "^4.11.0", "playwright": "^1.56.1" }, "devDependencies": { From 81ae702a75978ac5b19f476e1554ab9f6e77424d Mon Sep 17 00:00:00 2001 From: Clay Miller Date: Thu, 30 Oct 2025 11:46:15 -0400 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20Ignore=20axe=20version=20when=20chec?= =?UTF-8?q?king=20'problemUrl',=20so=20axe=20version=20updates=20don?= =?UTF-8?q?=E2=80=99t=20fail=20our=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/site-with-errors.test.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/site-with-errors.test.ts b/tests/site-with-errors.test.ts index 83457c6..f670b4e 100644 --- a/tests/site-with-errors.test.ts +++ b/tests/site-with-errors.test.ts @@ -17,11 +17,15 @@ describe("site-with-errors", () => { it("cache has expected results", () => { const actual = results.map(({ issue: { url: issueUrl }, pullRequest: { url: pullRequestUrl }, findings }) => { - const { solutionLong, ...finding } = findings[0]; + const { problemUrl, solutionLong, ...finding } = findings[0]; // Check volatile fields for existence only expect(issueUrl).toBeDefined(); expect(pullRequestUrl).toBeDefined(); + expect(problemUrl).toBeDefined(); expect(solutionLong).toBeDefined(); + // Check `problemUrl`, ignoring axe version + expect(problemUrl.startsWith("https://dequeuniversity.com/rules/axe/")).toBe(true); + expect(problemUrl.endsWith(`/${finding.ruleId}?application=playwright`)).toBe(true); return finding; }); const expected = [ @@ -30,7 +34,6 @@ describe("site-with-errors", () => { url: "http://127.0.0.1:4000/", html: '', problemShort: "elements must meet minimum color contrast ratio thresholds", - problemUrl: "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=playwright", ruleId: "color-contrast", solutionShort: "ensure the contrast between foreground and background colors meets wcag 2 aa minimum contrast ratio thresholds" }, { @@ -38,7 +41,6 @@ describe("site-with-errors", () => { url: "http://127.0.0.1:4000/", html: '', problemShort: "page should contain a level-one heading", - problemUrl: "https://dequeuniversity.com/rules/axe/4.10/page-has-heading-one?application=playwright", ruleId: "page-has-heading-one", solutionShort: "ensure that the page, or at least one of its frames contains a level-one heading" }, { @@ -47,7 +49,6 @@ describe("site-with-errors", () => { html: ``, problemShort: "elements must meet minimum color contrast ratio thresholds", - problemUrl: "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=playwright", ruleId: "color-contrast", solutionShort: "ensure the contrast between foreground and background colors meets wcag 2 aa minimum contrast ratio thresholds", }, { @@ -55,7 +56,6 @@ describe("site-with-errors", () => { url: "http://127.0.0.1:4000/about/", html: 'jekyllrb.com', problemShort: "elements must meet minimum color contrast ratio thresholds", - problemUrl: "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=playwright", ruleId: "color-contrast", solutionShort: "ensure the contrast between foreground and background colors meets wcag 2 aa minimum contrast ratio thresholds", }, { @@ -63,7 +63,6 @@ describe("site-with-errors", () => { url: "http://127.0.0.1:4000/404.html", html: '
  • Accessibility Scanner Demo
  • ', problemShort: "elements must meet minimum color contrast ratio thresholds", - problemUrl: "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=playwright", ruleId: "color-contrast", solutionShort: "ensure the contrast between foreground and background colors meets wcag 2 aa minimum contrast ratio thresholds" }, { @@ -71,7 +70,6 @@ describe("site-with-errors", () => { url: "http://127.0.0.1:4000/404.html", html: '

    ', problemShort: "headings should not be empty", - problemUrl: "https://dequeuniversity.com/rules/axe/4.10/empty-heading?application=playwright", ruleId: "empty-heading", solutionShort: "ensure headings have discernible text", },