π¨ Palette: Add auto-scrolling and ARIA log attributes to ChatTimeline - #189
π¨ Palette: Add auto-scrolling and ARIA log attributes to ChatTimeline#189MEKXH wants to merge 1 commit into
Conversation
Added a Vue watcher with `{ flush: 'post' }` on the ChatTimeline component
to ensure the chat view automatically scrolls to the bottom when new
messages arrive or the sending state changes. Additionally, added
`role="log"`, `aria-live="polite"`, and `aria-busy` attributes to
improve screen reader accessibility for the dynamic timeline.
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 behavior and ARIA accessibility attributes to the
ChatTimeline.vuecomponent.π― Why: Previously, the chat timeline would not automatically scroll when new messages were appended, requiring users to manually scroll to see the latest content. Additionally, screen readers were not notified of the dynamic content updates. This change resolves both issues for a significantly smoother and more accessible UX.
πΈ Before/After: N/A (Behavioral UX and accessibility markup change, visually identical until scrolled).
βΏ Accessibility: Added
role="log",aria-live="polite", and conditionally bound:aria-busy="isSending"to ensure screen readers actively announce new entries to the user as they are appended.PR created automatically by Jules for task 11207624013077080901 started by @MEKXH