🐛 Fix Target Cluster Selector keyboard accessibility#12850
Conversation
Add proper keyboard semantics to the cluster selector trigger: - Changed div to button element with aria-expanded/aria-haspopup - Added Escape key handler to dismiss dropdown - Added aria-label for screen reader support - Ensured proper focus management for keyboard navigation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Copilot <copilot@github.com>
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
👋 Hey @kubestellar-hive[bot] — thanks for opening this PR!
This is an automated message. |
Replace clickable div with button element, add keyboard event handlers for Enter/Space (toggle) and Escape (close), and proper ARIA attributes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Copilot <copilot@github.com>
Use Event type and cast to KeyboardEvent to satisfy TypeScript addEventListener overload signatures. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Copilot <copilot@github.com>
Signed-off-by: GitHub Copilot <github-copilot@github.com>
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
✅ Post-Merge Verification: passedCommit: |
|
Post-merge build verification passed ✅ Both Go and frontend builds compiled successfully against merge commit |
Fixes #12842
Problem
The Target Cluster Selector in Mission Control uses a clickable
divwithout keyboard accessibility support. Keyboard users cannot focus, open, or dismiss the selector.Fix
divtobuttonelementaria-expandedandaria-haspopupattributes for screen readersaria-labelfor clear semantic meaningTesting