-
Notifications
You must be signed in to change notification settings - Fork 266
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
fix keyboard nav on login screen #12956
Conversation
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.
Keyboard navigation is definitely improved, but I'm noting a lot of missing behavior that would satisfy keyboard interactions for the menubar pattern1. Some notable elements that don't align with the APG:
- When a menu opens, or when a menubar receives focus, keyboard focus is placed on the first item
- Tab and Shift + Tab do not move focus among the items in the menu
- Arrow Navigation and Escape behavior are missing
We can discuss more on how we would like to approach these instances, but I suspect that we will replace one-off implementations like these with a standardized component once we address #12771.
Footnotes
pkg/rancher-components/src/components/Form/Checkbox/Checkbox.vue
Outdated
Show resolved
Hide resolved
pkg/rancher-components/src/components/Form/Checkbox/Checkbox.vue
Outdated
Show resolved
Hide resolved
2361204
to
be05331
Compare
pkg/rancher-components/src/components/Form/Checkbox/Checkbox.vue
Outdated
Show resolved
Hide resolved
pkg/rancher-components/src/components/Form/Checkbox/Checkbox.vue
Outdated
Show resolved
Hide resolved
pkg/rancher-components/src/components/Form/Checkbox/Checkbox.vue
Outdated
Show resolved
Hide resolved
pkg/rancher-components/src/components/Form/Checkbox/Checkbox.vue
Outdated
Show resolved
Hide resolved
@nwmac going to resolve all of the PR comments that you had around |
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.
This is looking good. We want to clean up the unused props and I think this will be good to merge.
pkg/rancher-components/src/components/Form/Checkbox/Checkbox.vue
Outdated
Show resolved
Hide resolved
@rak-phillip removed the |
@rak-phillip fixed and ready for final review 🤞 |
Summary
Fixes #12775
Occurred changes and/or fixed issues
login
screenrole="button"
toAsyncButton
Password
component is now tabbableLocaleSelector
component to work with keyboard navigation (login
mode only)Technical notes summary
Areas or cases that should be tested
enter
orspace
key to trigger UI elements on the pageAreas which could experience regressions
Screenshot/Video
Screen.Recording.2024-12-27.at.15.31.14.mov
Checklist