🎨 Palette: UX and Accessibility improvements for copy buttons and icons - #42
🎨 Palette: UX and Accessibility improvements for copy buttons and icons#42anaxifty wants to merge 1 commit into
Conversation
- Implemented `copyFeedback` utility for consistent clipboard confirmation. - Integrated `copyFeedback` across chat, code blocks, canvas, and share modal. - Added `aria-label` to icon-only buttons for screen reader accessibility. - Added `aria-hidden="true"` to decorative SVGs inside buttons. - Added `.copy-success` styles and improved button state restoration logic. - Recorded UX learnings in .Jules/palette.md. Co-authored-by: anaxifty <[email protected]>
|
👋 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. |
Deploying neuraldock with
|
| Latest commit: |
b07ecd1
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://91454f15.neural-dock.pages.dev |
| Branch Preview URL: | https://palette-ux-a11y-improvements.neural-dock.pages.dev |
This PR introduces several micro-UX and accessibility improvements focused on providing clear feedback for user actions and improving the experience for assistive technology users.
💡 What: The UX enhancement added
copyFeedbackutility injs/utils.jsprovides immediate inline visual and ARIA feedback when a "Copy" button is clicked. It temporarily updates the button text and label to "Copied!" (or a custom message) while preserving any icons.aria-labelattributes to all primary icon-only buttons in the interface, including sidebar toggles, attachment/voice inputs, and chat send/stop buttons. Decorative SVGs are now hidden from screen readers.🎯 Why: The user problem it solves
♿ Accessibility: Any a11y improvements made
aria-labelto 6+ icon-only buttons.aria-labelupdates during feedback cycles.aria-hidden.Verified with Playwright functional testing.
PR created automatically by Jules for task 14235495152825937064 started by @anaxifty