🎨 Palette: Add ARIA accessibility to icon-only buttons#65
Conversation
💡 What: Added `aria-label` to icon-only buttons ("Copy JSON" and "Download JSON") and applied `aria-hidden="true"` to structural `span.material-symbols-outlined` icon elements within those buttons. Also logged critical UX learning to `.jules/palette.md`.
🎯 Why: Without these attributes, screen readers may read the raw text of the ligature icon (e.g. "content copy") instead of a descriptive action, and may miss the button completely if it has no accessible label.
📸 Before/After: Visuals are completely unchanged, but accessibility is drastically improved for screen readers.
♿ Accessibility: Ensures that screen readers ignore raw icon ligatures and correctly interpret the function of icon-only buttons via explicit ARIA labels.
Co-authored-by: Bhishaj9 <144550237+Bhishaj9@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. |
This PR implements a micro-UX accessibility enhancement by addressing icon-only buttons across the application's HTML templates (
dashboard.html,glassui.html,code.html).Changes made:
aria-labelto<button>elements that only contain icon spans.aria-hidden="true"to<span class="material-symbols-outlined">elements to prevent screen readers from reading raw ligature text (like "content_copy" or "download")..jules/palette.mdjournal detailing this specific accessibility pattern for future reference.These changes are structurally contained (< 50 lines), use existing styling, and ensure an improved experience for screen reader users without altering any visual layouts.
PR created automatically by Jules for task 13472471284858068292 started by @Bhishaj9