-
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 for home page #12966
base: master
Are you sure you want to change the base?
fix keyboard nav for home page #12966
Conversation
ae607b8
to
50c9515
Compare
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 looks good. I think all the comments I left are fairly minor and have been addressed in other open accessibility PRs.
pkg/rancher-components/src/components/Form/Checkbox/Checkbox.vue
Outdated
Show resolved
Hide resolved
7da65a7
to
f7a177e
Compare
@@ -599,6 +611,9 @@ export default defineComponent({ | |||
:to="createLocation" | |||
class="btn btn-sm role-primary" | |||
data-testid="cluster-create-button" | |||
role="link" | |||
:aria-label="t('generic.create')" | |||
@keyup.space="$router.push(createLocation)" |
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.
There's quite a few links that still use space
for activation. I think these can be removed.
Summary
Fixes #12776
Occurred changes and/or fixed issues
home
pageBanner
component has correct roles, labels and is focusableSortableTable
component has been fixed for basic keyboard nav (sorting, checkboxes, links, open/close row action menu)Technical notes summary
Areas or cases that should be tested
home
page and browse the page with the tab keyenter
orspace
key to trigger UI elements on the pageAreas which could experience regressions
Screenshot/Video
Screen.Recording.2025-01-02.at.16.23.48.mov
Checklist