🎨 Palette: Enhance Calendar Header Accessibility - #238
Conversation
Adds missing semantic ARIA attributes to the view selector and view options dropdown in the calendar header to improve screen reader accessibility. Co-authored-by: endlessblink <37155282+endlessblink@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. |
Adds missing semantic ARIA attributes to the view selector and view options dropdown in the calendar header to improve screen reader accessibility. Also fixes a Vue boolean prop ESLint warning. Co-authored-by: endlessblink <37155282+endlessblink@users.noreply.github.com>
Adds missing semantic ARIA attributes to the calendar view selector and fixes a failing GitHub Action dependency. Co-authored-by: endlessblink <37155282+endlessblink@users.noreply.github.com>
💡 What: Added
:aria-expandedto the view options dropdown trigger, appliedrole="group"and anaria-labelto the view selector (Day/Week/Month) container, and added:aria-presseddynamic bindings to the view selection buttons.🎯 Why: The calendar view selector functions as a custom tablist or segmented control, but previously lacked the semantics for screen readers to announce the grouping, the purpose of the control, or the currently active view. The dropdown trigger also lacked state announcement.
📸 Before/After: Visuals remained identical. See verification screenshot for UI stability.
♿ Accessibility: Improved screen reader navigation and comprehension for core calendar views.
PR created automatically by Jules for task 3527028715958441232 started by @endlessblink