sfsam / Itsycal

Itsycal is a tiny calendar for your Mac's menu bar. http://www.mowglii.com/itsycal
MIT License
3.25k stars 234 forks source link

Submit "Go to date" by keyboard #240

Closed eyemd closed 5 months ago

eyemd commented 5 months ago

What I really like with Itsycal is that you can navigate and control almost everything by the keyboard. Like "Go to date": it can be triggered by [shift]-[cmd]-[T] and you can enter the desired date. It would be perfect if you could submit the date without leaving the keyboard as well. From an accessibility point of view e.g. by setting the focus to the ">" button by using [tab] and then submitting with [enter]. Or straight forward by just using [enter]. Right now you're being forced to use the cursor which is kind of interrupting the flow.

sfsam commented 5 months ago

You should be able to do this already. Use shift-cmd-T to open Go to Date. Use tab to navigate through the date fields and to the button. Use space to trigger the button. In the future, the return key will also work without having to navigate into the button. You might need to turn on keyboard navigation in System Settings first. https://support.apple.com/guide/mac-help/use-your-keyboard-like-a-mouse-mchlp1399/mac#:~:text=On%20your%20Mac%2C%20choose%20Apple,may%20need%20to%20scroll%20down).&text=Turn%20on%20“Keyboard%20navigation”%20on%20the%20right.

eyemd commented 5 months ago

Great! Thanks for the hint about enabling "Keyboard navigation" and good to hear about your future plans.