Skip to content

Improve VoiceOver and keyboard navigation in TensorFold Web - #4719

Open
taylorarndt wants to merge 1 commit into
ashhart:mainfrom
taylorarndt:accessibility-teardown
Open

taylorarndt wants to merge 1 commit into
ashhart:mainfrom
taylorarndt:accessibility-teardown

Conversation

@taylorarndt

@taylorarndt taylorarndt commented Nov 23, 2026 •

Copy link
Copy Markdown

TensorFold Web accessibility

Engine statistics expose column headers. Model headings distinguish quantized checkpoints, model buttons announce their expanded state, and closing the details returns focus to the model that opened them. Download controls explain availability, show progress, and announce when the model and its required files are ready to start.

Chat has a page heading and a labeled, keyboard-focusable conversation log. The saved-conversation list and editor subsections no longer introduce redundant landmarks. Conversation updates and download announcements retain live semantics. An unavailable composer explains why typing is disabled. Code blocks have distinct Copy buttons that retain focus through feedback and reset.

The compute dialog keeps keyboard focus inside while open. Monitor describes the selected writing-speed history, back links hide decorative arrows, and small text has improved contrast in the light theme. The Web installation guide includes a quieter Terminal command.

Fixes #4707. Fixes #4708. Fixes #4709. Fixes #4710. Fixes #4712. Fixes #4713. Fixes #4723.

The Web portions of #4717 (compute drawer focus and expanded chat content) and #4721 (redundant chat landmarks) are addressed here. Both issues track additional work.

Safari with VoiceOver

Taylor confirmed model heading navigation and Engine statistics headers. Activating a model announced its expanded state, Close model details was discoverable, and closing returned focus to the triggering model. In the Apple and Orange conversation, Taylor activated the second Copy button, heard “Copied,” and reported that the retest worked. She did not separately report pasting the contents or describe her VoiceOver cursor position after the feedback reset. Her original observation of repeated entries in the Form Controls rotor remains unreproduced. Firsthand teardown

Automated verification

  • All 36 Web UI tests passed. The production build succeeded and its output matched the packaged assets byte-for-byte.
  • The Web backend suite passed 503 tests with one skipped.
  • Isolated Chromium and WebKit Copy regression covering both code blocks, exact clipboard payloads, keyboard focus through feedback and reset, and moving focus to another button. Tests cover clipboard success, missing API, denied write and fallback refusal.
  • Earlier checks of the same Web files included axe and accessibility-tree inspection across 17 routes, expanded Chat editors, keyboard navigation, a simulated streamed reply and a simulated target-plus-drafter download completion. The default Chat had two named regions before the patch and zero afterward. With both editors open the count fell from seven to zero. Sidebar, banner, main and the conversation log remained available.

@taylorarndt taylorarndt changed the title Improve VoiceOver and keyboard navigation in TensorFold Web and Studio Improve VoiceOver and keyboard navigation in TensorFold Web Nov 23, 2026
@taylorarndt
taylorarndt force-pushed the accessibility-teardown branch from 46b2348 to 43b76ae Compare November 23, 2026 03:41
@ashhart

ashhart commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Thanks @taylorarndt, and sorry for the wait. We've read the whole change, and it looks right to us:

  • Screen changes: focus moves to the new screen's content, except when the route hasn't changed or focus belongs on the fleet page.
  • Copy buttons: each one names its line and its message, keeps focus, and shows "Copied" only when the copy worked. The clipboard fallback puts focus back where it was.
  • Message box: with no model running, a screen reader can still read it, and it points at the status that explains why. Sending stays refused until a model is ready.
  • Structure: the engine facts are a real table, the settings and workshop groups have real headings, and the back links no longer read out the arrow.

CI's ui job rebuilt the page from these sources, and the committed bundle matches. The one red job, python, fails on an import-order lint in a test file this PR doesn't touch. That's on main, and we'll fix it there. Nothing more is needed from you.

  • Synthena

@AIFlowML

Copy link
Copy Markdown
Contributor

I rechecked the current Web head, 43b76ae1e3daf5e8c2d5bd626b123feb3108a2b1, in a clean trial merge onto main 4c79cfe346d3c239ff7dfd7aa694df799755bafa on Apple silicon. From web/ui, npm ci --ignore-scripts, npm test and npm run build with Node 22.23.3 gave 36/36 passing tests and a clean build. git diff --exit-code -- ../tensorfold_web/ui_dist confirmed the rebuilt package assets matched the committed bundle. From web, uv run --frozen --extra dev pytest -q passed 503 tests with one skip.

The local locked Ruff run also passed on current main and the trial merge. This is an independent check of the bundle and test suite with the locked dependencies. VoiceOver observations remain Taylor's hands-on results.

Igor Lessio - AIFLOW LABS

@ashhart

ashhart commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Thanks @taylorarndt, and thanks for rebuilding the packaged page. Committing those generated assets follows the repository's convention. The new index and asset names are consistent, and the reported clean rebuild confirms that the committed bundle matches these sources. My read-only check also found the new accessibility behavior in the bundle.

Most of the earlier requests are closed: the Copy controls retain focus and report success honestly, the composer explains its disabled state, the engine facts and chat structure have the right semantics, and the download announcements are present. Four cases still need changes:

  • From Compute, pressing 4 for Learning or 5 for API restores focus to the Compute opener rather than the new screen. The normal Close behavior should keep opener focus, but a cross-screen shortcut needs different handling (web/ui/src/App.tsx:56-61; web/ui/src/Drawer.tsx:19).
  • If search or filtering removes the selected model's row, closing its details removes the focused Close button without focusing a fallback control (web/ui/src/screens/Models.tsx:108-112,146).
  • The locally collected writing-speed chart is visible but remains hidden from screen readers. The new description covers only the server-backed chart (web/ui/src/screens/Monitor.tsx:28-31,44-53,172).
  • The engine notices are now wrapped by the status region, so they no longer match the direct-child chat-notice styling and lose its width, centering and flex behavior (web/ui/src/screens/Chat.tsx:437-440; web/ui/src/styles/workspace.css:55).

The change merges cleanly on current main. No rebase is needed. I would like these four cases addressed, with the two focus cases and the local-chart description covered by regression checks.

  • Synthena

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