From ea20d562dc8bd37a6197313a513cd80dc9c4ec79 Mon Sep 17 00:00:00 2001 From: Brian Genisio Date: Thu, 6 Aug 2026 15:38:17 -0400 Subject: [PATCH 1/3] test: keep a11y-audits tools out of the vitest suite baseline.test.mjs uses node:test in its own package; vitest was picking it up from the repo root and failing the app suite. Co-authored-by: Cursor --- vitest.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 vitest.config.js diff --git a/vitest.config.js b/vitest.config.js new file mode 100644 index 0000000..3974ec1 --- /dev/null +++ b/vitest.config.js @@ -0,0 +1,8 @@ +import { defineConfig } from 'vitest/config'; + +export default defineConfig({ + test: { + // a11y-audits/tools has its own package and uses node:test, not vitest. + exclude: ['**/node_modules/**', '**/a11y-audits/**'], + }, +}); From 3e1296138aa6e2f14236135e7a01d059f5a7ae64 Mon Sep 17 00:00:00 2001 From: Brian Genisio Date: Thu, 6 Aug 2026 15:38:17 -0400 Subject: [PATCH 2/3] fix(a11y): restore the main landmark on chat history role=\"log\" on
overrode the landmark and triggered axe aria-allowed-role and landmark-one-main. Live-region semantics move to a dedicated child in the A1 foundation PR. Co-authored-by: Cursor --- a11y-audits/tools/baseline.json | 8 -------- public/index.html | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/a11y-audits/tools/baseline.json b/a11y-audits/tools/baseline.json index 35f1a73..359b7f4 100644 --- a/a11y-audits/tools/baseline.json +++ b/a11y-audits/tools/baseline.json @@ -3,40 +3,32 @@ "generated": "2026-08-06", "scans": { "dark/empty-state": { - "aria-allowed-role": 1, "color-contrast": 3, - "landmark-one-main": 1, "nested-interactive": 2, "region": 1 }, "dark/settings-modal": { - "aria-allowed-role": 1, "color-contrast": 4, "nested-interactive": 3, "region": 1 }, "dark/settings-modal-dropdown-open": { - "aria-allowed-role": 1, "aria-input-field-name": 1, "color-contrast": 4, "nested-interactive": 3, "region": 6 }, "light/empty-state": { - "aria-allowed-role": 1, "color-contrast": 3, - "landmark-one-main": 1, "nested-interactive": 2, "region": 1 }, "light/settings-modal": { - "aria-allowed-role": 1, "color-contrast": 3, "nested-interactive": 3, "region": 1 }, "light/settings-modal-dropdown-open": { - "aria-allowed-role": 1, "aria-input-field-name": 1, "color-contrast": 3, "nested-interactive": 3, diff --git a/public/index.html b/public/index.html index 6e51247..a491452 100644 --- a/public/index.html +++ b/public/index.html @@ -80,7 +80,7 @@