Skip to content

🎨 Palette: Auto-scroll and ARIA live regions for chat timeline - #173

Open
MEKXH wants to merge 1 commit into
devfrom
palette-timeline-a11y-6414203253661235176
Open

🎨 Palette: Auto-scroll and ARIA live regions for chat timeline#173
MEKXH wants to merge 1 commit into
devfrom
palette-timeline-a11y-6414203253661235176

Conversation

@MEKXH

@MEKXH MEKXH commented May 21, 2026

Copy link
Copy Markdown
Owner

πŸ’‘ What: Added auto-scrolling to the ChatTimeline component to keep new messages in view, and added ARIA attributes (role="log", aria-live="polite", aria-busy) to make the live chat log accessible.

🎯 Why: Users expect chat logs to automatically scroll to the bottom as new messages are added. Without this, users have to manually scroll to read long responses. Furthermore, screen reader users need to be notified when new text is added to the DOM dynamically.

πŸ“Έ Before/After: Visual behavior improves so that the scrollbar automatically sticks to the bottom.

β™Ώ Accessibility: Added role="log" and aria-live="polite" so screen readers will announce incoming messages dynamically. Additionally, :aria-busy="isSending" signals when the system is processing a request.


PR created automatically by Jules for task 6414203253661235176 started by @MEKXH

- Adds a `ref` and a reactive watcher to keep the timeline scrolled to the bottom when new messages arrive.
- Adds `role="log"`, `aria-live="polite"`, and `aria-busy` to ensure assistive technologies announce new content and loading states properly.

Co-authored-by: MEKXH <59291264+MEKXH@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

πŸ‘‹ 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