Skip to content

Check accessibility in wf test, make the provided interfaces usable by keyboard and expose the tree to agents (#768) - #791

Open
ambroise-leclerc wants to merge 12 commits into
developfrom
768-a11y-check
Open

ambroise-leclerc wants to merge 12 commits into
developfrom
768-a11y-check

Conversation

@ambroise-leclerc

@ambroise-leclerc ambroise-leclerc commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #768. Completes the work started in #786.

What changes

  • wf test: await expectAsync(document).toBeAccessible() (WCAG 2.1 A/AA rules), active once axe-core is locked beside jasmine-core. The app and life starters ship accessibility.spec.mjs, including a spec showing an unnamed button is caught.
  • app and life starters, host-loop, Life React and PTY examples fixed for names and keyboard use.
  • Developer terminal: Shift+Tab leaves it, screen reader mode, labelled input. Inspector windows take focus; Escape closes them and returns focus.
  • MCP operation accessibility under the inspect grant, computed from DOM/ARIA, without field values, bounded in nodes and bytes.
  • docs/ACCESSIBILITY.md, docs/FRONTENDS.md, developer environment and automation docs, changelog.

Limits

  • The new matcher and MCP operation need developer environment 1.3.2, which is not published; the pinned 1.3.1 has neither.
  • No screen reader was run. AT-SPI was only read once by hand on WebKitGTK; UIA, NSAccessibility, CEF and the system browser were not measured.
  • Keyboard tests send synthetic DOM events. The host-loop, PTY and Life React changes come from review, not from an axe run. DOM islands are not checked.
  • axe "incomplete" results do not fail the matcher.

Checks

CEF-off with WebKitGTK, Linux: CTest 940/940, one CUDA case skipped; the last test-only commit was followed by a targeted rerun (19/19).

Pre-existing hang fixed here: accessibility-specs removed the fallback iframe while the page was still loading, which left WebKit spinning at 100 % CPU and the browser suite timing out (seen on the first desktop runs of this stack, introduced with #786). The spec now waits for the load. The cause in the engine is an inference from that symptom, not a diagnosis.

CI: the desktop jobs of this PR, then the CEF (GCC and Clang) and sanitizer jobs dispatched on the branch, are green.

Comment thread js/developer/environment/runtime.mjs Resolved
…scape from their panel and declare the starter's spec after wf init (#768)
Comment thread examples/life/react/main.tsx Resolved
Comment thread examples/life/ui/main.tsx Resolved
Comment thread js/developer/environment/testing.mjs Resolved
Comment thread examples/life/react/main.tsx Resolved
Comment thread js/developer/environment/runtime.mjs Resolved

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants