Skip to content

🎨 Palette: Add auto-scroll and accessibility to chat timeline - #195

Open
MEKXH wants to merge 1 commit into
devfrom
palette/auto-scroll-chat-timeline-3390362900431887482
Open

🎨 Palette: Add auto-scroll and accessibility to chat timeline#195
MEKXH wants to merge 1 commit into
devfrom
palette/auto-scroll-chat-timeline-3390362900431887482

Conversation

@MEKXH

@MEKXH MEKXH commented Jun 1, 2026

Copy link
Copy Markdown
Owner

πŸ’‘ What

Added auto-scrolling to the bottom of the chat timeline when new entries are added or when the assistant is typing. Additionally, added screen reader accessibility attributes to the timeline container.

🎯 Why

Dynamic chat interfaces can leave screen reader users unaware of new messages, and visual users are forced to manually scroll down to see the latest responses or loading indicators. This improves the usability for both visual and screen reader users.

πŸ“Έ Before/After

(Visual change only in behavior when scrolling, no styling changes)

β™Ώ Accessibility

Applied role="log", aria-live="polite", and dynamically bound :aria-busy="isSending" to the scrollable <section> so that assistive technologies correctly announce new log entries and loading states.


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

- Binds a ref to the timeline scrollable container.
- Adds a watcher to entries and `isSending` with `flush: 'post'` to automatically scroll to the bottom.
- Adds `role="log"`, `aria-live="polite"`, and conditionally `:aria-busy` for screen reader accessibility.

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