Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

feat(web): WS-F2 — vitest-axe accessibility gate + WCAG fixes

beenua738d312bd0f
diff --git a/apps/web/package.json b/apps/web/package.json
index 57d53136d..7051a8422 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -39,17 +39,20 @@
"@testing-library/react": "^14.2.0",
"@testing-library/user-event": "^14.5.2",
"@types/cytoscape": "^3.21.0",
+ "@types/jest-axe": "^3.5.9",
"@types/node": "^20.10.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.17",
+ "axe-core": "^4.11.4",
"eslint": "^8.57.1",
"eslint-config-next": "14.2.5",
"jsdom": "^24.0.0",
"postcss": "^8.5.14",
"tailwindcss": "^4.2.4",
"typescript": "^6.0.3",
- "vitest": "^2.0.0"
+ "vitest": "^2.0.0",
+ "vitest-axe": "^0.1.0"
}
}
diff --git a/apps/web/src/components/landing/Hero.tsx b/apps/web/src/components/landing/Hero.tsx
index bc8f47476..c57a368b9 100644
--- a/apps/web/src/components/landing/Hero.tsx
+++ b/apps/web/src/components/landing/Hero.tsx
@@ -99,11 +99,18 @@ export function Hero() {
}
function Stat({ label, value, caption }: { label: string; value: string; caption: string }) {
+ // The caption lives inside the same `<dd>` as the value so the `<dl>` keeps
+ // valid HTML5 structure (only `<dt>`/`<dd>` may live inside the wrapping
+ // `<div>`). Visually the caption still reads as a smaller line below the
+ // headline number; screen readers announce both as part of the description
+ // term, which is what we want.
return (
<div>
<dt className="text-xs font-semibold uppercase tracking-wider text-gray-500">{label}</dt>
- <dd className="mt-2 text-2xl font-bold text-white">{value}</dd>
- <p className="mt-1 text-xs text-gray-500">{caption}</p>
+ <dd className="mt-2 text-2xl font-bold text-white">
+ {value}
+ <span className="mt-1 block text-xs font-normal text-gray-500">{caption}</span>
+ </dd>
</div>
);
}
diff --git a/apps/web/src/components/layout/TopBar.test.tsx b/apps/web/src/components/layout/TopBar.test.tsx
index 65690f86c..6b8333803 100644
--- a/apps/web/src/components/layout/TopBar.test.tsx
+++ b/apps/web/src/components/layout/TopBar.test.tsx
@@ -9,11 +9,23 @@ vi.mock('next/navigation', () => ({
}));
import { TopBar } from './TopBar';
+import { ThemeProvider } from '../theme/ThemeProvider';
+
+// TopBar embeds <ThemeToggle/> (WS-F1), which calls useTheme() and so must
+// always be rendered inside a <ThemeProvider>. Wrap once here so each test
+// reads naturally.
+function renderTopBar() {
+ return render(
+ <ThemeProvider>
+ <TopBar />
+ </ThemeProvider>,
+ );
+}
describe('TopBar', () => {
it('shows the per-route title and description for known paths', () => {
pathnameMock.mockReturnValue('/cases');
- render(<TopBar />);
+ renderTopBar();
expect(screen.getByRole('heading', { level: 1 })).toHaveTextContent('Cases');
expect(screen.getByText('Incident case management')).toBeInTheDocument();
@@ -22,7 +34,7 @@ describe('TopBar', () => {
it('matches the most specific nested route first', () => {
// /detection/catalog must win over /detection.
pathnameMock.mockReturnValue('/detection/catalog');
- render(<TopBar />);
+ renderTopBar();
expect(screen.getByRole('heading', { level: 1 })).toHaveTextContent('Detection Catalog');
});
@@ -30,14 +42,14 @@ describe('TopBar', () => {
it('derives a sensible title for unknown routes from the path itself', () => {
// Regression: previously fell back to "Alerts" for everything unmapped.
pathnameMock.mockReturnValue('/some-new-page');
- render(<TopBar />);
+ renderTopBar();
expect(screen.getByRole('heading', { level: 1 })).toHaveTextContent('Some New Page');
});
it('dispatches a Cmd-K keyboard event when the palette button is clicked', async () => {
pathnameMock.mockReturnValue('/dashboard');
- render(<TopBar />);
+ renderTopBar();
const listener = vi.fn();
window.addEventListener('keydown', listener);
diff --git a/apps/web/src/components/layout/TopBar.tsx b/apps/web/src/components/layout/TopBar.tsx
index fdbf96557..06bf7502b 100644
--- a/apps/web/src/components/layout/TopBar.tsx
+++ b/apps/web/src/components/layout/TopBar.tsx
@@ -163,11 +163,24 @@ export function TopBar({ demoOffset = false }: TopBarProps) {
<ThemeToggle />
{/* Notifications */}
- <button className="relative p-1.5 text-fg-muted hover:text-fg-primary transition-colors">
- <svg className="w-5 h-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
+ <button
+ type="button"
+ aria-label="Open notifications"
+ className="relative p-1.5 text-fg-muted hover:text-fg-primary transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-500/50"
+ >
+ <svg
+ className="w-5 h-5"
+ fill="none"
+ viewBox="0 0 24 24"
+ stroke="currentColor"
+ aria-hidden
+ >
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0" />
</svg>
- <span className="absolute top-1 right-1 w-2 h-2 bg-red-500 rounded-full ring-2 ring-surface-raised" />
+ <span
+ aria-hidden
+ className="absolute top-1 right-1 w-2 h-2 bg-red-500 rounded-full ring-2 ring-surface-raised"
+ />
</button>
{/* User avatar */}
diff --git a/apps/web/src/components/onboarding/StartHero.tsx b/apps/web/src/components/onboarding/StartHero.tsx
index 0fc4bc570..57e8b1d93 100644
--- a/apps/web/src/components/onboarding/StartHero.tsx
+++ b/apps/web/src/components/onboarding/StartHero.tsx
@@ -176,11 +176,17 @@ export function StartHero() {
}
function Stat({ label, value, caption }: { label: string; value: string; caption: string }) {
+ // Caption is wrapped inside the `<dd>` so the surrounding `<dl>` stays
+ // structurally valid (axe's `definition-list` rule rejects any direct
+ // child of the `<dl>`'s div-wrapper that isn't `<dt>`/`<dd>`). Same
+ // visual layout as before.
return (
<div>
<dt className="text-xs font-semibold uppercase tracking-wider text-gray-500">{label}</dt>
- <dd className="mt-2 text-2xl font-bold text-white">{value}</dd>
- <p className="mt-1 text-xs text-gray-500">{caption}</p>
+ <dd className="mt-2 text-2xl font-bold text-white">
+ {value}
+ <span className="mt-1 block text-xs font-normal text-gray-500">{caption}</span>
+ </dd>
</div>
);
}
diff --git a/apps/web/src/test/a11y.test.tsx b/apps/web/src/test/a11y.test.tsx
new file mode 100644
index 000000000..73058ee8a
--- /dev/null
+++ b/apps/web/src/test/a11y.test.tsx
@@ -0,0 +1,137 @@
+/**
+ * WS-F2 — WCAG 2.1 AA accessibility sweep.
+ *
+ * Runs `axe-core` (via `vitest-axe`) against the highest-traffic surfaces a
+ * buyer hits inside the first five minutes:
+ *
+ * - Landing `Hero` (root marketing visual)
+ * - Onboarding `StartHero` (the three WS-A2 CTAs)
+ * - `ThemeToggle` (the WS-F1 chrome control)
+ * - `TopBar` (console chrome around every authenticated page)
+ *
+ * Together these cover the marketing → onboarding → console journey. This
+ * test runs inside the existing `web-test` CI job so any regression that
+ * adds a missing label, breaks heading order, or leaves a non-button
+ * interactive element ungated will fail the build.
+ *
+ * Note on `color-contrast`: jsdom doesn't compute styles for CSS variables,
+ * so axe's `color-contrast` rule returns "incomplete" results that aren't
+ * useful. We disable it here and rely on a manual contrast review (see
+ * `apps/docs/docs/operations/theming.md`) plus the semantic-token layer
+ * itself, which gives us a single place to tune contrast for both themes.
+ */
+
+import { afterEach, describe, expect, it, vi } from 'vitest';
+import { cleanup, render } from '@testing-library/react';
+import { axe } from 'vitest-axe';
+
+// Shared mocks ----------------------------------------------------------
+
+vi.mock('next/link', () => ({
+ default: ({
+ children,
+ href,
+ ...rest
+ }: {
+ children: React.ReactNode;
+ href: string;
+ } & Record<string, unknown>) => (
+ <a href={href} {...(rest as Record<string, unknown>)}>
+ {children}
+ </a>
+ ),
+}));
+
+const pathnameMock = vi.fn(() => '/dashboard');
+
+vi.mock('next/navigation', () => ({
+ usePathname: () => pathnameMock(),
+ useRouter: () => ({ push: vi.fn(), replace: vi.fn() }),
+}));
+
+// framer-motion's `motion.x` returns a real DOM tag and forwards refs. The
+// production build pulls in IntersectionObserver and animation timers we
+// don't need for static-DOM accessibility checks, so stub it out.
+vi.mock('framer-motion', () => {
+ const factory = (Tag: React.ElementType) =>
+ function MotionStub(props: Record<string, unknown>) {
+ const { children, ...rest } = props as {
+ children?: React.ReactNode;
+ } & Record<string, unknown>;
+ delete (rest as Record<string, unknown>).initial;
+ delete (rest as Record<string, unknown>).animate;
+ delete (rest as Record<string, unknown>).transition;
+ delete (rest as Record<string, unknown>).whileHover;
+ delete (rest as Record<string, unknown>).whileTap;
+ return <Tag {...(rest as Record<string, unknown>)}>{children}</Tag>;
+ };
+ return {
+ motion: new Proxy({}, { get: (_t, key: string) => factory(key as React.ElementType) }),
+ };
+});
+
+vi.mock('react-hot-toast', () => ({
+ default: { error: vi.fn(), success: vi.fn() },
+}));
+
+vi.mock('@/lib/api', () => ({
+ authApi: {
+ isAuthenticated: () => false,
+ login: vi.fn(),
+ },
+}));
+
+// Component imports go after the mocks so the mocks are resolved first.
+import { Hero } from '../components/landing/Hero';
+import { StartHero } from '../components/onboarding/StartHero';
+import { ThemeToggle } from '../components/theme/ThemeToggle';
+import { ThemeProvider } from '../components/theme/ThemeProvider';
+import { TopBar } from '../components/layout/TopBar';
+
+afterEach(() => {
+ cleanup();
+});
+
+// jsdom lacks computed-style support for CSS variables, which is what
+// axe's color-contrast rule needs. Skip it here; the semantic-token layer
+// is the single source of truth for contrast and is reviewed manually.
+const axeOptions = {
+ rules: {
+ 'color-contrast': { enabled: false },
+ },
+};
+
+describe('WCAG 2.1 AA — high-traffic surfaces', () => {
+ it('Landing Hero has no accessibility violations', async () => {
+ const { container } = render(<Hero />);
+ const results = await axe(container, axeOptions);
+ expect(results).toHaveNoViolations();
+ });
+
+ it('Onboarding StartHero has no accessibility violations', async () => {
+ const { container } = render(<StartHero />);
+ const results = await axe(container, axeOptions);
+ expect(results).toHaveNoViolations();
+ });
+
+ it('ThemeToggle has no accessibility violations', async () => {
+ const { container } = render(
+ <ThemeProvider>
+ <ThemeToggle />
+ </ThemeProvider>,
+ );
+ const results = await axe(container, axeOptions);
+ expect(results).toHaveNoViolations();
+ });
+
+ it('TopBar has no accessibility violations', async () => {
+ pathnameMock.mockReturnValue('/dashboard');
+ const { container } = render(
+ <ThemeProvider>
+ <TopBar />
+ </ThemeProvider>,
+ );
+ const results = await axe(container, axeOptions);
+ expect(results).toHaveNoViolations();
+ });
+});
diff --git a/apps/web/src/test/setup.ts b/apps/web/src/test/setup.ts
index 792780c64..18644d019 100644
--- a/apps/web/src/test/setup.ts
+++ b/apps/web/src/test/setup.ts
@@ -5,8 +5,19 @@
// but that jsdom doesn't ship.
import '@testing-library/jest-dom/vitest';
-import { afterEach, vi } from 'vitest';
+import { afterEach, expect, vi } from 'vitest';
import { cleanup } from '@testing-library/react';
+// NOTE: [email protected] ships a broken `vitest-axe/matchers.d.ts` that wraps
+// its re-exports in `export type *`, so TS thinks `toHaveNoViolations` is a
+// type even though the JS file exports a function. The deep path resolves to
+// `dist/matchers.d.ts`, which uses regular value re-exports and works.
+import { toHaveNoViolations } from 'vitest-axe/dist/matchers.js';
+import 'vitest-axe/extend-expect';
+
+// vitest-axe ships matchers separately from the type augmentation; register
+// here so every component test can call `expect(...).toHaveNoViolations()`
+// without per-file boilerplate. WS-F2.
+expect.extend({ toHaveNoViolations });
afterEach(() => {
cleanup();
diff --git a/apps/web/src/test/vitest-axe.d.ts b/apps/web/src/test/vitest-axe.d.ts
new file mode 100644
index 000000000..99385eecb
--- /dev/null
+++ b/apps/web/src/test/vitest-axe.d.ts
@@ -0,0 +1,19 @@
+// Type augmentation for `vitest-axe`'s `toHaveNoViolations` matcher.
+//
+// `[email protected]` ships its global type augmentation against the legacy
+// `Vi.Assertion` namespace, which Vitest 2.x has retired in favor of the
+// `Assertion` interface exported from `'vitest'`. As a result `tsc` doesn't
+// see our `expect.extend({ toHaveNoViolations })` registration even though
+// it works at runtime. This declaration file plugs the gap by augmenting
+// the modern interface directly. WS-F2.
+
+import 'vitest';
+
+declare module 'vitest' {
+ interface Assertion {
+ toHaveNoViolations(): void;
+ }
+ interface AsymmetricMatchersContaining {
+ toHaveNoViolations(): void;
+ }
+}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 67d1538b0..2c3c32f27 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -127,6 +127,9 @@ importers:
'@types/cytoscape':
specifier: ^3.21.0
version: 3.31.0
+ '@types/jest-axe':
+ specifier: ^3.5.9
+ version: 3.5.9
'@types/node':
specifier: ^20.10.0
version: 20.19.39
@@ -142,6 +145,9 @@ importers:
autoprefixer:
specifier: ^10.4.17
version: 10.5.0([email protected])
+ axe-core:
+ specifier: ^4.11.4
+ version: 4.11.4
eslint:
specifier: ^8.57.1
version: 8.57.1
@@ -163,6 +169,9 @@ importers:
vitest:
specifier: ^2.0.0
version: 2.1.9(@types/[email protected])([email protected])
+ vitest-axe:
+ specifier: ^0.1.0
+ version: 0.1.0([email protected])
packages/ocsf:
devDependencies:
@@ -4018,6 +4027,31 @@ packages:
wrap-ansi-cjs: /[email protected]
dev: true
+ resolution: {integrity: sha512-zOpzlfUs45l6u7jm39qr87JCHUDsaeCtvL+kQe/Vn9jSnRB4/5IPXISm0h9I1vZW/o00Kn4UTJ2MOlhnUGwv3g==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dev: true
+
+ resolution: {integrity: sha512-ZBn5CglH8fBsQsvs4VWNzD4aWfUYks+IdOOQU3MEK71ol/BcVm+P+rtb1KpiFBpSWSCE27uOahyyf1vfqOVbcQ==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dependencies:
+ '@jest/get-type': 30.1.0
+ dev: true
+
+ resolution: {integrity: sha512-eMbZE2hUnx1WV0pmURZY9XoXPkUYjpc55mb0CrhtdWLtzMQPFvu/rZkTLZFTsdaVQa+Tr4eWAteqcUzoawq/uA==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dev: true
+
+ resolution: {integrity: sha512-RAWn3+f9u8BsHijKJ71uHcFp6vmyEt6VvoWXkl6hKF3qVIuWNmudVjg12DlBPGup/frIl5UcUlH5HfEuvHpEXg==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dependencies:
+ '@types/node': 20.19.39
+ jest-regex-util: 30.4.0
+ dev: true
+
resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
@@ -4025,6 +4059,13 @@ packages:
'@sinclair/typebox': 0.27.10
dev: false
+ resolution: {integrity: sha512-i6b4qw5qnP8c5FEeBJg/uZQ4ddrkN6Ca8qISJh0pr7a5hfn3h3v5x60BEbOC7OYAGZNMs1LfFLwnW2CuK8F57Q==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dependencies:
+ '@sinclair/typebox': 0.34.49
+ dev: true
+
resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
@@ -4037,6 +4078,19 @@ packages:
chalk: 4.1.2
dev: false
+ resolution: {integrity: sha512-f1x/vJXIfjOlEmejYpbkbgw1gOqpPECwMvMEtBqe47j7H2Hg8h8w3o3ikhSXq3MI15kg+oQ0exWO0uCtTNJLoQ==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dependencies:
+ '@jest/pattern': 30.4.0
+ '@jest/schemas': 30.4.1
+ '@types/istanbul-lib-coverage': 2.0.6
+ '@types/istanbul-reports': 3.0.4
+ '@types/node': 20.19.39
+ '@types/yargs': 17.0.35
+ chalk: 4.1.2
+ dev: true
+
/@jridgewell/[email protected]:
resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
dependencies:
@@ -5304,6 +5358,10 @@ packages:
resolution: {integrity: sha512-MTBk/3jGLNB2tVxv6uLlFh1iu64iYOQ2PbdOSK3NW8JZsmlaOh2q6sdtKowBhfw8QFLmYNzTW4/oK4uATIi6ZA==}
dev: false
+ /@sinclair/[email protected]:
+ resolution: {integrity: sha512-brySQQs7Jtn0joV8Xh9ZV/hZb9Ozb0pmazDIASBkYKCjXrXU3mpcFahmK/z4YDhGkQvP9mWJbVyahdtU5wQA+A==}
+ dev: true
+
/@sindresorhus/[email protected]:
resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==}
engines: {node: '>=10'}
@@ -5996,19 +6054,30 @@ packages:
resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==}
- dev: false
resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==}
dependencies:
'@types/istanbul-lib-coverage': 2.0.6
- dev: false
resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==}
dependencies:
'@types/istanbul-lib-report': 3.0.3
- dev: false
+
+ resolution: {integrity: sha512-z98CzR0yVDalCEuhGXXO4/zN4HHuSebAukXDjTLJyjEAgoUf1H1i+sr7SUB/mz8CRS/03/XChsx0dcLjHkndoQ==}
+ dependencies:
+ '@types/jest': 30.0.0
+ axe-core: 3.5.6
+ dev: true
+
+ resolution: {integrity: sha512-XTYugzhuwqWjws0CVz8QpM36+T+Dz5mTEBKhNs/esGLnCIlGdRy+Dq78NRjd7ls7r8BC8ZRMOrKlkO1hU0JOwA==}
+ dependencies:
+ expect: 30.4.1
+ pretty-format: 30.4.1
+ dev: true
resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
@@ -6146,6 +6215,10 @@ packages:
'@types/node': 20.19.39
dev: false
+ resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==}
+ dev: true
+
resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}
requiresBuild: true
@@ -6166,13 +6239,11 @@ packages:
resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==}
- dev: false
resolution: {integrity: sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==}
dependencies:
'@types/yargs-parser': 21.0.3
- dev: false
resolution: {integrity: sha512-5FKsVcHTk6TafQKQbuIVkXq58Fnbkd2wDL4LB7AURN7RUOu1utVP+G8+6u3ZhEroW3DF6hyo3ZEXxgKgp4KeCg==}
@@ -6988,6 +7059,11 @@ packages:
possible-typed-array-names: 1.1.0
dev: true
+ resolution: {integrity: sha512-LEUDjgmdJoA3LqklSTwKYqkjcZ4HKc4ddIYGSAiSkr46NTjzg2L9RNB+lekO9P7Dlpa87+hBtzc2Fzn/+GUWMQ==}
+ engines: {node: '>=4'}
+ dev: true
+
resolution: {integrity: sha512-KunSNx+TVpkAw/6ULfhnx+HWRecjqZGTOyquAoWHYLRSdK1tB5Ihce1ZW+UY3fj33bYAFWPu7W/GRSmmrCGuxA==}
engines: {node: '>=4'}
@@ -7332,7 +7408,6 @@ packages:
resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==}
engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
- dev: false
resolution: {integrity: sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==}
@@ -7415,6 +7490,11 @@ packages:
engines: {node: '>=8'}
dev: false
+ resolution: {integrity: sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==}
+ engines: {node: '>=8'}
+ dev: true
+
resolution: {integrity: sha512-JhZUT7JFcQy/EzW605k/ktHtncoo9vnyW/2GspNYwFlN1C/WmjuV/xtS04e9SOkL2sTdw0VAZ2UGCcQ9lR6p6w==}
dev: false
@@ -8761,6 +8841,11 @@ packages:
resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}
dev: false
+ resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==}
+ engines: {node: '>=8'}
+ dev: true
+
resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
engines: {node: '>=10'}
@@ -9171,6 +9256,18 @@ packages:
engines: {node: '>=12.0.0'}
dev: true
+ resolution: {integrity: sha512-PMARsyh/JtqC20HoGqlFcIlQAyqUtW4PlI1rup1uhYJtKuwAjbvWi3GQMAn+STdHum/dk8xrKfUM1+5SAwpolA==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dependencies:
+ '@jest/expect-utils': 30.4.1
+ '@jest/get-type': 30.1.0
+ jest-matcher-utils: 30.4.1
+ jest-message-util: 30.4.1
+ jest-mock: 30.4.1
+ jest-util: 30.4.1
+ dev: true
+
resolution: {integrity: sha512-NGVYwQSAyEQgzxX1iCM978PP9AdO/hW93gMcF6ZwQCm+rFvLsBH6w4xcXWTcliS8La5EPRN3p9wzItqBwJrfNw==}
engines: {node: '>= 16'}
@@ -10659,6 +10756,56 @@ packages:
'@pkgjs/parseargs': 0.11.0
dev: true
+ resolution: {integrity: sha512-CRpFK0RtLriVDGcPPAnR6HMVI8bSR2jnUIgralhauzYQZIb4RH9AtEInTuQr65LmmGggGcRT6HIASxwqsVsmlA==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dependencies:
+ '@jest/diff-sequences': 30.4.0
+ '@jest/get-type': 30.1.0
+ chalk: 4.1.2
+ pretty-format: 30.4.1
+ dev: true
+
+ resolution: {integrity: sha512-zvYfX5CaeEkFrrLS9suWe9rvJrm9J1Iv3ua8kIBv9GEPzcnsfBf0bob37la7s67fs0nlBC3EuvkOLnXQKxtx4A==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dependencies:
+ '@jest/get-type': 30.1.0
+ chalk: 4.1.2
+ jest-diff: 30.4.1
+ pretty-format: 30.4.1
+ dev: true
+
+ resolution: {integrity: sha512-kwCKIvq0MCW1HzLoGola9Te6JUdzgV0loyKJ3Qghrkz9i5/RRIHsL95BMQc2HBBhlBKC4j22K9p11TGHH8RBpQ==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dependencies:
+ '@babel/code-frame': 7.29.0
+ '@jest/types': 30.4.1
+ '@types/stack-utils': 2.0.3
+ chalk: 4.1.2
+ graceful-fs: 4.2.11
+ jest-util: 30.4.1
+ picomatch: 4.0.4
+ pretty-format: 30.4.1
+ slash: 3.0.0
+ stack-utils: 2.0.6
+ dev: true
+
+ resolution: {integrity: sha512-/i8SVb8/NSB7RfNi8gfqu8gxLV23KaL5EpAttyb9iz8qWRIqXRLflycz/32wXsYkOnaUlx8NAKnJYtpsmXUmfw==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dependencies:
+ '@jest/types': 30.4.1
+ '@types/node': 20.19.39
+ jest-util: 30.4.1
+ dev: true
+
+ resolution: {integrity: sha512-mWlvLviKIgIQ8VCuM1xRdD0TWp3zlzionlmDBjuXVBs+VkmXq6FgW9T4Emr7oGz/Rk6feDCGyiugolcQEyp3mg==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dev: true
+
resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
@@ -10671,6 +10818,18 @@ packages:
picomatch: 2.3.2
dev: false
+ resolution: {integrity: sha512-vjQb1sACEiv13DKJMDToJpzVW0joCsIQrmbg0fi7CyOOt+g9jTuQl2A216pWRBYhOVt53XbL/2LbMKg1BECWOw==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dependencies:
+ '@jest/types': 30.4.1
+ '@types/node': 20.19.39
+ chalk: 4.1.2
+ ci-info: 4.4.0
+ graceful-fs: 4.2.11
+ picomatch: 4.0.4
+ dev: true
+
resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==}
engines: {node: '>= 10.13.0'}
@@ -11044,6 +11203,10 @@ packages:
p-locate: 6.0.0
dev: false
+ resolution: {integrity: sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==}
+ dev: true
+
resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}
dev: false
@@ -13343,6 +13506,16 @@ packages:
react-is: 17.0.2
dev: true
+ resolution: {integrity: sha512-K6KiKMHTL4jjX4u3Kir2EW07nRfcqVTXIImx50wbjHQTcZPgg+gjVeNTIT3l3L1Rd4UefxfogquC9J37SoFyyw==}
+ engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0}
+ dependencies:
+ '@jest/schemas': 30.4.1
+ ansi-styles: 5.2.0
+ react-is-18: /[email protected]
+ react-is-19: /[email protected]
+ dev: true
+
resolution: {integrity: sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA==}
engines: {node: '>=4'}
@@ -13530,7 +13703,10 @@ packages:
resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==}
- dev: false
+
+ resolution: {integrity: sha512-XjBR15BhXuylgWGuslhDKqlSayuqvqBX91BP8pauG8kd1zY8kotkNWbXksTCNRarse4kuGbe2kIY05ARtwNIvw==}
+ dev: true
resolution: {integrity: sha512-tk7o7QG9oYyELWHL8xiMQ8x4WzjCzbWNyig3uexmkLb54r8jO0yH3WCWx8UZS0c49eSA4QUmG5caiRJ8fAn58g==}
@@ -14643,6 +14819,13 @@ packages:
resolution: {integrity: sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==}
dev: true
+ resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==}
+ engines: {node: '>=10'}
+ dependencies:
+ escape-string-regexp: 2.0.0
+ dev: true
+
resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
dev: true
@@ -15717,6 +15900,20 @@ packages:
fsevents: 2.3.3
dev: true
+ resolution: {integrity: sha512-jvtXxeQPg8R/2ANTY8QicA5pvvdRP4F0FsVUAHANJ46YCDASie/cuhlSzu0DGcLmZvGBSBNsNuK3HqfaeknyvA==}
+ peerDependencies:
+ vitest: '>=0.16.0'
+ dependencies:
+ aria-query: 5.3.2
+ axe-core: 4.11.4
+ chalk: 5.6.2
+ dom-accessibility-api: 0.5.16
+ lodash-es: 4.18.1
+ redent: 3.0.0
+ vitest: 2.1.9(@types/[email protected])([email protected])
+ dev: true
+
resolution: {integrity: sha512-MSmPM9REYqDGBI8439mA4mWhV5sKmDlBKWIYbA3lRb2PTHACE0mgKwA8yQ2xq9vxDTuk4iPrECBAEW2aoFXY0Q==}
engines: {node: ^18.0.0 || >=20.0.0}