diff --git a/e2e/specs/control-names.spec.ts b/e2e/specs/control-names.spec.ts new file mode 100644 index 0000000..f51b71f --- /dev/null +++ b/e2e/specs/control-names.spec.ts @@ -0,0 +1,57 @@ +import { test, expect } from '../support/fixtures.js'; + +/** + * Plan 008 phase 3: the two sliders the audit filed as exemplary have + * no accessible name. + * + * `a11y.md` lists `seek-bar` and `volume-control` under **what is + * already correct** — "`wa-slider` with `aria-label` and a + * `valueFormatter`, so the seek position is announced as `3:42` rather + * than `222`". The formatter is real. The name was not: `wa-slider` + * puts `role="slider"` on a `
` + * inside its own shadow root, and that IDREF — pointing at an empty + * internal `