/** * Accessibility test helper used by `*.a11y.test.tsx` suites. * * This is intentionally a lightweight, dependency-free static a11y checker. * Browser-level WCAG auditing (axe-core via Playwright) is owned by E2E. * * The helper renders a React node into jsdom via `@testing-library/react` * and walks the resulting DOM looking for a curated set of high-signal * violations that we never want to regress: * * - `` without `alt` (decorative images must use `alt=""`). * - Interactive controls without an accessible name * (button / role=button / role=link with no text + no aria-label * + no aria-labelledby + no title). * - Form inputs without an accessible label (input/select/textarea * with no associated