-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elements respond to enter or spacebar #590
elements respond to enter or spacebar #590
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
Addressing the failing test: test:firefox-headless
As for Enforce PR label / enforce-label
|
Code changes User-facing changes Backwards-incompatible changes |
To fix the "Does PR have API changes" test I ran the yarn run api and got this error
Addressing the failing test: Tests / JS (macos-latest, webkit-headless)
|
Don't handle keydown dynamically.
@g547315 thanks for pushing this. I took the liberty to push some simplification to push this PR through the finish line. Would you mind having a look to my changes? |
Thanks @g547315 for working on this, this look good to me. (Probably for a follow up PR) Maybe a better solution could be:
Like that, using the tabulation will move the focus on another widget than the tabbar. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brichet has time to improving further keyboard navigation on tabs. So I'll merge this to allow him to built on top of it.
References
jupyterlab/jupyterlab#9686
Code changes
Hard part of #9686: added functionality so elements now respond to "enters" or "spaces"on a keyboard like a link or button .
@krassowski Please review and comment