Skip to content

🎨 Palette: Accessibility improvements for chat input buttons#81

Open
nkissick-del wants to merge 1 commit intomainfrom
palette-accessibility-chat-input-3275292838041067429
Open

🎨 Palette: Accessibility improvements for chat input buttons#81
nkissick-del wants to merge 1 commit intomainfrom
palette-accessibility-chat-input-3275292838041067429

Conversation

@nkissick-del
Copy link
Copy Markdown
Owner

💡 What: Added ARIA labels and pressed states to chat input buttons (File Remove, Internet Search, Thinking, Stop Generation).
🎯 Why: To make the chat interface accessible to screen reader users who previously encountered unlabeled buttons and toggle states that were only communicated visually.
📸 Before/After: Visuals are unchanged, but accessibility tree now correctly reports button names and toggle states.
♿ Accessibility:

  • File Remove: now has accessible name "Remove".
  • Internet Search: now has accessible name "Enable web search" and reports pressed state.
  • Thinking: now reports pressed state.
  • Stop Generation: now has accessible name "Cancel".

PR created automatically by Jules for task 3275292838041067429 started by @nkissick-del

- Add `aria-label` to file removal button using `common.remove`
- Add `aria-label` and `aria-pressed` to Internet search toggle using `chat.enableWebSearch`
- Add `aria-pressed` to Thinking toggle button
- Add `aria-label` to Stop generation button using `common.cancel`

These changes ensure that screen reader users can identify the purpose of icon-only buttons and the state of toggle buttons in the chat interface.

Co-authored-by: nkissick-del <236767245+nkissick-del@users.noreply.github.com>
@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.

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