Skip to content

🎨 Palette: [UX improvement] Enhance discussion composer accessibility and feedback#123

Open
bobdivx wants to merge 1 commit into
devfrom
jules-5740675934400938335-0bf1e0e9
Open

🎨 Palette: [UX improvement] Enhance discussion composer accessibility and feedback#123
bobdivx wants to merge 1 commit into
devfrom
jules-5740675934400938335-0bf1e0e9

Conversation

@bobdivx

@bobdivx bobdivx commented Jun 17, 2026

Copy link
Copy Markdown
Owner

💡 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">&gt;</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.

PR created automatically by Jules for task 5740675934400938335 started by @bobdivx

… 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">&gt;</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>
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
forge Ready Ready Preview, Comment Jun 17, 2026 5:24pm

@google-labs-jules

Copy link
Copy Markdown

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment on lines +97 to +98
aria-label="Envoyer le message"
title="Envoyer le message"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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.

Suggested change
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}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant