Conversation
Improved the accessibility and user experience of table column sorting in the shared list view.
Changes:
- Added `role="button"` and `tabindex="0"` to table sorting wrappers for keyboard accessibility.
- Added descriptive `aria-label` to sorting triggers (e.g., 'Sortieren nach Name').
- Implemented keyboard event listeners ('Enter' and 'Space') to trigger sorting.
- Added dynamic `aria-sort` attribute management on `th` elements to provide screen reader feedback on the current sorting state.
- Added `aria-hidden="true"` to sort icons to avoid redundant screen reader announcements.
These improvements ensure that the application's data tables are fully accessible to keyboard users and screen readers.
Co-authored-by: Woschj <81321922+Woschj@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
The table sorting functionality was previously only accessible via mouse clicks and lacked screen reader context. This PR enhances the table header wrappers by adding proper ARIA roles, labels, and keyboard support, making the sorting feature intuitive and accessible for all users.
PR created automatically by Jules for task 3916672014575745057 started by @Woschj