🎨 Palette: Improve Accessibility of Responsive Ligature Buttons#67
🎨 Palette: Improve Accessibility of Responsive Ligature Buttons#67Bhishaj9 wants to merge 1 commit into
Conversation
…cons Added explicit `aria-label` attributes to interactive elements (like Back to Home, Deploy, Copy, and Download buttons) where the visible text is either hidden responsively (e.g., using `hidden lg:inline`) or entirely absent, ensuring they maintain an accessible name across all viewports. Added `aria-hidden="true"` to `<span class="material-symbols-outlined">` elements to prevent screen readers from announcing raw ligature text (like "rocket_launch" or "content_copy"). Updated: - `dashboard.html` - `glassui.html` - `code.html` - `.jules/palette.md` (recorded learning about responsive ligature buttons) 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. |
I have completed the UX enhancement to add
aria-labelto buttons where visible text is hidden responsively or completely and addaria-hidden="true"to<span class="material-symbols-outlined">elements in the UI HTML files (dashboard.html,glassui.html, andcode.html). I also recorded this learning in.jules/palette.md. Visual regression has been prevented (verified by playwright screenshot tests) and backend regressions verified via pytest.💡 What: Added
aria-labels andaria-hidden="true"to Material Icon components.🎯 Why: Prevents screen readers from saying raw ligatures (e.g., "rocket_launch") and ensures buttons always have accessible names across all viewport sizes when CSS classes like
hidden lg:inlineare applied to the visible text.♿ Accessibility: Massive a11y improvement for screen readers interacting with icon-only and responsively collapsing buttons.
PR created automatically by Jules for task 2176073894055059513 started by @Bhishaj9