🎨 Palette: Accessible progressive character counter#149
Conversation
- Updated character counter to use distinct visual color warnings as it approaches the limit. - Added visually hidden `role="status"` alerts for threshold warnings rather than live continuous counting. - Removed duplicated screen reader descriptions tied to `automaticThought` by deleting redundant `aria-describedby` that doubled the text already found in the `<label>`. Co-authored-by: Sczitzo <46541128+Sczitzo@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:
role="status"that only appear at key limits to warn screen readers without noisy keystroke updates.aria-describedby="automaticThought-desc"from the optional automatic thought textarea, and its correspondingidon the span.🎯 Why:
aria-liveor similar mechanisms cause overwhelming screen reader updates. Soft warnings at 80% and 100% capacity are safer and much more usable.aria-describedbypointing to a span inside the<label>caused screen readers to announce "Automatic Thought (Optional)" and then immediately read "(Optional)" a second time.📸 Before/After:
N/A - Minor visual text color tweaks and hidden accessibility fixes.
♿ Accessibility:
PR created automatically by Jules for task 13990461125492619451 started by @Sczitzo