From e425a686762c742796edca69b0882fb09149a6bf Mon Sep 17 00:00:00 2001 From: hanna-skryl Date: Fri, 2 Jan 2026 16:22:38 -0500 Subject: [PATCH] refactor(plugin-axe): omit URL from issues when analyzing single URL --- .../__snapshots__/collect.e2e.test.ts.snap | 10 ++-- e2e/plugin-axe-e2e/tests/collect.e2e.test.ts | 14 +----- packages/plugin-axe/src/lib/runner/run-axe.ts | 7 ++- .../plugin-axe/src/lib/runner/transform.ts | 40 +++++++++------ .../src/lib/runner/transform.unit.test.ts | 50 +++++++++++-------- 5 files changed, 66 insertions(+), 55 deletions(-) diff --git a/e2e/plugin-axe-e2e/tests/__snapshots__/collect.e2e.test.ts.snap b/e2e/plugin-axe-e2e/tests/__snapshots__/collect.e2e.test.ts.snap index 781181f86..045af4fe9 100644 --- a/e2e/plugin-axe-e2e/tests/__snapshots__/collect.e2e.test.ts.snap +++ b/e2e/plugin-axe-e2e/tests/__snapshots__/collect.e2e.test.ts.snap @@ -497,7 +497,7 @@ exports[`PLUGIN collect report with axe-plugin NPM package > should run plugin o "details": { "issues": [ { - "message": "[\`body > button\`] Fix any of the following: Element does not have inner text that is visible to screen readers aria-label attribute does not exist or is empty aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty Element has no title attribute Element does not have an implicit (wrapped)