🎨 Palette: [UX improvement] Enhance discussion composer accessibility and feedback#123
🎨 Palette: [UX improvement] Enhance discussion composer accessibility and feedback#123bobdivx wants to merge 1 commit into
Conversation
… and feedback ## 💡 What Added aria-labels and a visual loading state (spinner) to the discussion composer's send button, along with keyboard focus styling. ## 🎯 Why To improve accessibility and user feedback during asynchronous message submissions. ## ♿ Accessibility - Added `aria-label` to the textarea and send button. - Replaced the text `>` with `<span aria-hidden="true">></span>` to avoid redundant screen reader announcements. - Added `focus-visible:ring` classes to the send button to support keyboard navigation. - Conditionally render a spinner while sending to provide clear visual feedback. Co-authored-by: bobdivx <6737167+bobdivx@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
👋 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. |
There was a problem hiding this comment.
Code Review
This pull request improves the accessibility and user feedback of the chat composer. It adds a documentation entry in .jules/palette.md regarding loading states, adds an aria-label to the message textarea, and introduces a visual loading spinner, focus-visible styles, and static ARIA attributes to the send button. The review feedback suggests dynamically updating the send button's aria-label and title to "Envoi en cours…" when sending, and adding aria-busy={sending} to further enhance accessibility for screen readers.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| aria-label="Envoyer le message" | ||
| title="Envoyer le message" |
There was a problem hiding this comment.
To improve accessibility during asynchronous message submission, the button's aria-label and title should dynamically update to reflect the loading state (e.g., changing to 'Envoi en cours…'). Additionally, adding aria-busy={sending} informs assistive technologies that the button is currently in an active loading state.
| aria-label="Envoyer le message" | |
| title="Envoyer le message" | |
| aria-label={sending ? "Envoi en cours…" : "Envoyer le message"} | |
| title={sending ? "Envoi en cours…" : "Envoyer le message"} | |
| aria-busy={sending} |
💡 What
Added aria-labels and a visual loading state (spinner) to the discussion composer's send button, along with keyboard focus styling.
🎯 Why
To improve accessibility and user feedback during asynchronous message submissions.
♿ Accessibility
aria-labelto the textarea and send button.>with<span aria-hidden="true">></span>to avoid redundant screen reader announcements.focus-visible:ringclasses to the send button to support keyboard navigation.PR created automatically by Jules for task 5740675934400938335 started by @bobdivx