Form failure walkthrough
The missing-error-association synthetic form reveals errors and correctly focuses Name, but deliberately omits Name's aria-describedby. The native Declared error associations step fails because Name's accessible description is empty.
Reproduce in the quickstart project with the form files:
npm test -- --grep "form missing-error-association"This is an actual failed assertion declared as an expected failure. The command may exit 0; the accessible-description check did not pass.
Native diagnostic
Edited excerpt: ANSI formatting, repeated call log, source excerpt and machine-local stack paths were omitted. The native expected/received description is retained.
Error: Association: Name describes its visible error
expect(locator).toHaveAccessibleDescription(expected) failed
Locator: getByRole('textbox', { name: 'Name', exact: true })
Expected: "Enter a name."
Received: ""
Timeout: 1000msKeyboard submission and visible-error/invalid-state checks passed. The failure occurs on Name's description assertion in form.ts. The subsequent association assertions, focus-policy step, correction and resubmission were not executed for this attempt.
Observed focus and semantics
All observation records are transcribed using the report's notation. The last observation identifies input#name with raw aria-invalid=true and no aria-describedby. These attributes are sampled when key/focus events occur; they are not continuously synchronized validation state.
1 focus e1 body {}
2 key Tab e1 body {}
3 focus e2 input {"id":"name","name":"name","type":"text","aria-invalid":"false"}
4 key Tab e2 input {"id":"name","name":"name","type":"text","aria-invalid":"false"}
5 focus e1 body {}
6 focus e3 input {"id":"team","name":"team","type":"text","aria-invalid":"false"}
7 key Tab e3 input {"id":"team","name":"team","type":"text","aria-invalid":"false"}
8 focus e1 body {}
9 focus e4 button {"id":"submit","type":"submit"}
10 key Enter e4 button {"id":"submit","type":"submit"}
11 focus e2 input {"id":"name","name":"name","type":"text","aria-invalid":"true"}The focus observation is consistent with focus moving to Name. The named focus-policy assertion was not executed, so it must not be reported as a passed check. Native accessible-description diagnostics, rather than a screenshot of visible text, establish what this particular assertion received.
Failure artifacts

- form "Team request":
- heading "Team request" [level=1]
- paragraph: Synthetic details; no personal data.
- text: Name
- textbox "Name" [invalid]
- paragraph: Enter a name.
- text: Team
- textbox "Team" [invalid]
- paragraph: Enter a team.
- button "Submit"The declared #form ARIA snapshot includes fields and visible errors. Their presence does not by itself prove Name's error association or screen-reader announcements.
actual: failed
expected: failed
phase: fixture-teardown
observation complete within supported scope: true
truncated: false
screenshot: captured
start: 2026-11-02T23:52:39.058Z
finish: 2026-11-02T23:52:39.077Z
ariaSnapshot: captured
start: 2026-11-02T23:52:39.077Z
finish: 2026-11-02T23:52:39.083ZThe screenshot and ARIA text are unmodified synthetic artifacts from fixture-teardown. Metadata omits internal file paths. The app could have changed after the assertion; these captures describe the later capture point.
Provenance and next step
Generated on 2026-11-02 UTC (2026-11-03 locally), using npm 0.1.0, Node 24.21.0, Playwright 1.64.1 and Chromium 156.0.8078.4 on macOS arm64. The example derives from released v0.1.0 sources. This is author verification; external validation remains pending.
Restore the missing association in the application and rerun the native assertions. Share the generated whole bundle only after inspecting it for data. Read evidence explains completeness, timing and absent checks.