🎨 Palette: Enhance Chat Widget Accessibility and Keyboard UX#95
Conversation
|
👋 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 latest updates on your projects. Learn more about Vercel for GitHub.
|
- add dynamic aria-label to chat toggle - add aria-labels to all icon-only buttons - implement consistent focus-visible ring styles - ensure message actions are accessible via keyboard using focus-within - hide decorative icons with aria-hidden="true" - improve markdown link keyboard accessibility - add journal entry on keyboard accessibility for hover actions
809a421 to
a5bdb17
Compare
… improved maintainability
💡 What: Added ARIA labels, focus-visible styles, and aria-hidden icons to the chat widget. Improved keyboard accessibility for message actions using
focus-within.🎯 Why: The chat widget had several icon-only buttons without labels and lacked visible focus indicators, making it difficult for screen reader and keyboard users. Message actions (Edit/Copy) were only visible on hover.
♿ Accessibility:
aria-labelfor chat toggle (Open/Close).aria-labelto Close, Send, Stop, Edit, and Copy buttons.focus-visible:ring-2on all interactive elements.group-focus-withinto show message actions when the parent container or any of its children (like the buttons themselves) receive focus.aria-hidden="true".PR created automatically by Jules for task 1235851650487879896 started by @amrabed