🎨 Palette: Add aria-label to icon-only buttons#20
Conversation
- Added `aria-label` to the 'Reset settings', 'Close panel', and 'Delete group' buttons in `src/components/graph-tab.tsx`. - Added `aria-label` to the 'Toggle Line Wrap' and 'Copy Code' buttons in `src/components/editor/extensions/code-block-codemirror.tsx`. - Ensured full keyboard/screen-reader accessibility for these buttons. Co-authored-by: threehymns <70611435+threehymns@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. |
💡 What: Added
aria-labelattributes to several icon-only buttons in the graph controls and code blocks.🎯 Why: Icon-only buttons without
aria-labels are not accessible to screen reader users, who will just hear "button" without knowing what it does.📸 Before/After: Visuals are identical as the change only affects accessibility metadata.
♿ Accessibility: Improves screen reader compatibility for graph control and code block actions.
PR created automatically by Jules for task 4119455069519288644 started by @threehymns