fix(web): infer row headers beside table data cells

Merged
RU
2mo ago
+55-9
  • Infer a scope-less table header from its neighboring cells, so a data row is observed with a row header.
  • Keep explicit row and column scopes, header-only rows, and the one-cell table behavior aligned with Playwright and axe.
  • Remove seven recorded axe disagreements and add native role and cross-check fixtures.

Verified

Ran it locally: yes

mainthis branch
Native role and oracle fixtures fail because the reader reports columnheader next to a data cell.Both pass; the reader and Playwright report rowheader.
The built CLI observation prints columnheader "Item"; the deterministic custom executor assertion fails.The same built CLI fixture observes rowheader "Item" and passes.
✓ semantic tree matches its native row header > agent.assert "rowheader "Item""
Test Files 1 passed
Tests 1 passed

The CLI proof uses the documented StepExecutor seam to inspect the real built engine observation without a model. Native role checks plus Chrome/Playwright cross-check and vendored axe conformance pass: 27 tests passed, one skipped. The axe expected diff removes seven existing disagreements and adds none. The full web package suite passes: 55 files, 506 tests, one skipped. Web build and typecheck pass on Node 24.18.0, pnpm 12.3.4 and locked Playwright 1.63.0 Chromium.

Six paired scripts/bench-ab.ts --suite testbed --no-build --min-pairs 6 --max-pairs 6 --warmup 0 -- tests/controls.e2e.ts runs compare the existing controls suite against main. Every step/outcome and counter matches across both builds. These existing cases verify unaffected behavior; the new native and CLI fixtures above prove the header change. Timing is unresolved on the shared host; no performance claim.

Metricmainthis branchcomparison
Suite, sum of attempts14.20 s14.10 sunresolved (-0.7%, 95% interval -5.2% to +0.6%)

Local pnpm check stops at a mobile benchmark react-native-screens dead-code finding with Expo dependencies excluded from the filtered installation. The same finding reproduces on main with that installation, so this result does not establish a source defect. Full pnpm test, pnpm test:testbed, and pnpm test:web-benchmark have not completed locally; the focused native and built CLI checks above did complete.

Main and branch videos are retained locally. Installed GitHub CLI 2.83.1 lacks --attach, so terminal evidence is included here and media is retained for review.

Hosted workflows for current head 3532675 require repository-owner approval before running: spec, benchmark, docs, mobile. Hosted CI is not verified.

The complete deterministic Next benchmark suite also passes: 41 files and 91 tests using this PR's rebuilt web package and the unchanged production app retained from the ARIA branch. The top-level pnpm test:web-benchmark wrapper was not run.