Skip to content

Improve accessibility: expose split panes#34

Merged
khoi merged 5 commits into
supabitapp:mainfrom
barrettj:codex/accessibility-split-panes
Feb 9, 2026
Merged

Improve accessibility: expose split panes#34
khoi merged 5 commits into
supabitapp:mainfrom
barrettj:codex/accessibility-split-panes

Conversation

@barrettj
Copy link
Copy Markdown
Contributor

@barrettj barrettj commented Feb 8, 2026

Terminal split panes were previously opaque to assistive technology. This PR adds NSAccessibility conformance so that:

  • Split layouts expose a split-group container with ordered terminal pane children
  • Each pane has a dynamic accessibility label/value (title and working directory) plus a "Pane N of M" hint
  • Focus changes post focused-UI-element notifications so VoiceOver and other tools can announce the active pane
  • Inactive terminal tabs are hidden from the accessibility tree

Testing:

  • Verified in Accessibility Inspector that "Terminal split: N pane(s)" appears as a split group with N AXTerminal children, each with "Pane i of N" help.
  • Verified focus and pane count updates.
  • Verified switching tabs does not leak other tab panes into the AX tree.

Copy link
Copy Markdown
Contributor

@khoi khoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is great, tysm

@khoi khoi merged commit b62b049 into supabitapp:main Feb 9, 2026
1 check passed
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