Skip to content

feat(conn-app): AX elements for every selectable item (#276) - #243

Merged
nckrtl merged 8 commits into
mainfrom
feat/gpui-ax-elements
Nov 22, 2026
Merged

nckrtl merged 8 commits into
mainfrom
feat/gpui-ax-elements

Conversation

@nckrtl

@nckrtl nckrtl commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Nick picks elements in his native Annotator app through the macOS accessibility tree. Much of the GPUI app showed up as one opaque block, for example the whole Thread details popover (annotation #276).

Using the existing a11y.rs helpers, each item now gets its own element: a stable dotted id, a role and a human label.

  • Thread details card: every section, row, split-button half, menu and menu item (thread-details.*).
  • Timeline work log: timeline.work.<id> rows with labels like "Command: …", "Read …", "Thought: …" and "Tool: mcp__…", plus detail panes, live rows, notices and the working row.
  • Timeline cards: approval, subagent, changed files, attachment chips, steer marker, timestamps and message action rows.
  • Shared panel chrome: icon buttons, text buttons, section tabs and dropdowns as panel.<id>, so every panel built on them is covered. Also right-panel tabs, the sidebar hover card, the command palette, settings controls, the PR panel, the tasks board, and the API, DB, MCP and device buttons.
  • Conventions: apps/conn-gpui/AGENTS.md gains the rule that new interactive elements and cards get an AX element.

Not covered yet: the composer, the sidebar footer and the project picker (they were being edited in parallel), plus some generated-id panel click targets. A unit test covers the work-log labels. The live AX tree was not inspected.

Wave 2A (#242) is merged. CI does not build apps/conn-gpui. Verified locally on top of main: cargo fmt --check, cargo clippy --workspace --all-targets -D warnings and cargo test --workspace pass.

Done by Claude Sonnet 5.5 (high) in Conn, orchestrated by Claude Opus 5.5.

🤖 Generated with Claude Code

@github-actions github-actions Bot added size:XL vouch:trusted Author is trusted by repo permissions or the VOUCHED list. labels Nov 22, 2026
@nckrtl
nckrtl force-pushed the feat/gpui-wave-2a-composer branch from 27fc195 to 3a40165 Compare November 22, 2026 22:30
nckrtl and others added 8 commits November 22, 2026 23:30
Each section, row, split-button half, menu and menu item in the Thread
details card is its own AX element with a stable thread-details.* id.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Command, read, thought and tool rows, their expanded details, the live
work rows, notices and the working row each get a timeline.* AX element
with a kind-plus-text label. Rows that expand are buttons.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
)

Approval, subagent and changed-files cards, attachment chips, steer
marker, timestamps, the message action rows and the approval menu are
exposed as chat.* AX elements.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ntrols (#276)

The shared icon and text buttons, section tabs and dropdown menus in
panels/chrome.rs expose themselves as panel.* AX elements, so every
panel that uses them is selectable. The thread title chevron and inline
rename get their own header.thread-title.* elements.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ice panel controls (#276)

Click targets in the right panel surfaces get panel.* AX buttons, tabs
and groups with human labels. AGENTS.md now asks for an AX element on
every new interactive element or card.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@nckrtl
nckrtl force-pushed the feat/gpui-ax-elements branch from 6fe2e68 to 5bf4c98 Compare November 22, 2026 22:31
@nckrtl
nckrtl changed the base branch from feat/gpui-wave-2a-composer to main November 22, 2026 22:31
@github-actions github-actions Bot added size:XXL and removed size:XL labels Nov 22, 2026
@nckrtl
nckrtl merged commit e4d5537 into main Nov 22, 2026
37 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant