Skip to content

Fix status bar menu keyboard accessibility#152

Open
ethaneng wants to merge 3 commits intoBarutSRB:mainfrom
ethaneng:fix/statusbar-keyboard-accessibility
Open

Fix status bar menu keyboard accessibility#152
ethaneng wants to merge 3 commits intoBarutSRB:mainfrom
ethaneng:fix/statusbar-keyboard-accessibility

Conversation

@ethaneng
Copy link
Copy Markdown

@ethaneng ethaneng commented Mar 22, 2026

Summary

Tries to fix: #131

Admittedly helped by some AI tools as I don't write swift, but testing locally seems to work. Raising this for others to review and potentially use as a starting point if any proper Swift dev wants to do a tidy up.

omni-ezgif com-optimize

  • replace the custom NSMenu popup with an anchored status bar panel so the menu can keep its custom visuals while supporting real keyboard handling
  • add keyboard navigation, focus restoration, and accessibility-safe shortcut passthrough for the status bar menu interactions
  • update and extend status bar tests to cover the hosted menu appearance and keyboard navigation behavior

Ethan added 3 commits March 22, 2026 11:38
Replace the custom NSMenu popup with an anchored panel so keyboard navigation, focus restoration, and custom visuals can coexist. Add focused tests for the menu view model and update the Ghostty clipboard callback glue so the package still builds with the restored local framework.
Adapt the upstream status bar appearance regression to the new hosted SwiftUI panel menu so the rebased accessibility branch stays green on current main.
Only intercept unmodified menu navigation keys so VoiceOver and other accessibility keyboard chords continue to pass through the status bar panel. Add a regression test covering modified arrow and space shortcuts.
@ethaneng ethaneng marked this pull request as draft March 22, 2026 04:36
@ethaneng ethaneng marked this pull request as ready for review March 22, 2026 05:04
@BarutSRB
Copy link
Copy Markdown
Owner

@ethaneng Nice I'll take a look at it, thank you for taking the time to contribute and improve Omni ❤️

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.

[Accessibility] Cannot navigate the Menubar menu using the keyboard

2 participants