Skip to content

fix(desktop): make the time-filter menu keyboard-operable#4197

Merged
esengine merged 1 commit into
main-v2from
fix/time-filter-menu-keyboard
Jun 12, 2026
Merged

fix(desktop): make the time-filter menu keyboard-operable#4197
esengine merged 1 commit into
main-v2from
fix/time-filter-menu-keyboard

Conversation

@esengine

Copy link
Copy Markdown
Owner

Follow-up to #4150. The time-filter dropdown is marked up as role=menu/menuitem but was mouse-only.

  • Escape closes the menu and returns focus to the trigger.
  • Opening the menu moves focus into it (the selected option, else the first).
  • ArrowUp/Down/Home/End rove between options.
  • Trigger gains aria-haspopup / aria-expanded.

No behaviour change for mouse users (programmatic focus after a click doesn't trip the :focus-visible ring).

Follow-up to #4150. The dropdown is marked up as role=menu/menuitem but was
mouse-only. Add Escape-to-close (focus returns to the trigger), move focus into
the menu on open (the selected option, else the first), and ArrowUp/Down/Home/End
roving between options. The trigger gains aria-haspopup / aria-expanded.
@esengine esengine requested a review from SivanCola as a code owner June 12, 2026 14:06
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) labels Jun 12, 2026
@esengine esengine merged commit cde4f9a into main-v2 Jun 12, 2026
14 checks passed
@esengine esengine deleted the fix/time-filter-menu-keyboard branch June 12, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant