jpochyla / psst

Fast and multi-platform Spotify client with native GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interface not navigable with keyboard on macOS

peterkos opened this issue · comments

Is your feature request related to a problem? Please describe.
Navigating the interface should be accessible with just the keyboard, for situations when using a mouse is less convenient.

macOS has a toggle for setting (System Prefs > Keyboard > Keyboard Navigation), and it's really useful for quick actions.
CleanShot 2024-02-18 at 16 54 32

Describe the solution you'd like

  • Interface focus
    • Press Tab to engage focus on the first focusable element (likely the "Home" in Sidebar)
    • Press Shift-Tab
  • Track list focus
    • Press Up/Down to navigate the track list
    • Press Enter or space to play a track

Describe alternatives you've considered
N/A

Additional context
It would be really cool if this could also do "Full Keyboard Access" (System Prefs > Accessibility > Keyboard) but that's probably a better next step. For example, each section of the UI would be like <div>'d out: to go Sidebar -> Content would require "up" the group, tab to select the track list, enter to focus in that group. Or, some clever UI ordering to prioritize more frequent interactions:
CleanShot 2024-02-18 at 17 04 03

Thank you for this suggestion! I think this is something that we can definitely work on.