test: expand exporter/css/a11y/i18n regressions and add e2e skip-link focus check
CI / test (pull_request) Successful in 52s

This commit is contained in:
2025-11-14 20:10:50 +09:00
parent eb28c9fcc6
commit 02637a8b52
27 changed files with 1045 additions and 19 deletions
+8
View File
@@ -0,0 +1,8 @@
// Inspector a11y helper: verify input ↔ helptext wiring via aria-describedby
import { expect } from 'vitest'
export function assertDescribedBy(input: HTMLElement, helpId: string) {
expect(input).toHaveAttribute('aria-describedby', helpId)
const help = (input.ownerDocument || document).getElementById(helpId)
expect(help).not.toBeNull()
}