π¨ Palette: [UX/a11y improvements] Add Launcher Clear Button & Fix Clock Aria-Live#112
π¨ Palette: [UX/a11y improvements] Add Launcher Clear Button & Fix Clock Aria-Live#112schmug wants to merge 1 commit into
Conversation
β¦k Aria-Live
This patch introduces two targeted micro-UX and accessibility improvements based on the Palette guidelines:
1. **Clock Accessibility Fix**: Removes `aria-live="polite"` from continuously updating system clocks on the `Taskbar` and mobile `StatusBar`. Continuous updates cause screen readers to interrupt users every minute. Replaced the generic `<span>` with a semantic `<time dateTime={now.toISOString()}>` element.
2. **Launcher Clear Button**: Adds a "Clear search" button to the application Launcher. The clear button has an `aria-label`, utilizes standard CortechOS styling and focus rings, gracefully handles padding adjustments so text isn't obscured, and properly manages focus by dropping the user directly back into the input field when clicked.
Co-authored-by: schmug <38227427+schmug@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. |
|
Superseded by #127 (merged to main), which consolidated the best of the duplicate Bolt/Sentinel/Palette scheduled-agent PRs into one reviewed change. Closing as duplicate. |
π¨ Palette: [UX/a11y improvements] Add Launcher Clear Button & Fix Clock Aria-Live
π‘ What:
<span>wrapper on taskbar and mobile status clocks to semantic<time dateTime={...}>elements and removedaria-live="polite".Launcher.tsxsearch input that resets the input and properly restores focus.palette.mdjournal.π― Why:
aria-liveattribute on clocks interrupts screen readers every minute with time updates, creating a deeply frustrating accessibility experience. Using semantic<time>tags provides the exact same utility without the interruptive verbosity.πΈ Before/After:
βΏ Accessibility:
aria-liveupdates in favor of semantic<time>elements.focus-visiblering utilizes the system--color-amberaccent), and explicitaria-label="Clear search"exists.PR created automatically by Jules for task 13455149525788428849 started by @schmug