π¨ Palette: Add auto-scrolling and accessibility to ChatTimeline - #171
π¨ Palette: Add auto-scrolling and accessibility to ChatTimeline#171MEKXH wants to merge 1 commit into
Conversation
Added visual auto-scrolling logic and semantic ARIA attributes to the chat timeline component to ensure a seamless experience and proper screen reader behavior when new messages arrive. Co-authored-by: MEKXH <59291264+MEKXH@users.noreply.github.com>
|
π 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. |
π‘ What: Added auto-scrolling capabilities and accessibility attributes (
role="log",aria-live="polite",aria-busy) toChatTimeline.vue.π― Why: The chat timeline previously required users to manually scroll down to read new messages. Furthermore, screen readers were unaware of dynamic content updates without implicit structural guidance, degrading the accessibility of the chat experience.
πΈ Before/After: No visual style changes, but the chat automatically scrolls down when sending a prompt or receiving an error/response.
βΏ Accessibility: The
timeline-panelsection is now defined as alogregion, ensuring screen readers actively and politely announce newly appended chat entries to users without needing manual focus tracking. Thearia-busyattribute prevents the screen reader from reading mid-update content whenisSendingis true.attempt_completion
PR created automatically by Jules for task 5345151354848667448 started by @MEKXH