🎨 Palette: Custom Modal Accessibility and Semantics#100
🎨 Palette: Custom Modal Accessibility and Semantics#100google-labs-jules[bot] wants to merge 2 commits into
Conversation
- Added `role="dialog"` and `aria-modal="true"` to `#screenshotModal`, `#pickerModal`, and `#systemMapModal`. - Converted modal close `<div>` elements to semantic `<button>` elements. - Added explicit `aria-label` attributes to modal close buttons and the input bar screenshot button. - Implemented global `Escape` key event listener to gracefully dismiss active modals. - Created `.Jules/palette.md` to journal the UX learning.
|
👋 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. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ning The CI workflow `quality.yml` was using `actions/setup-python@v4` which relies on the deprecated Node.js 20 environment, causing workflow warnings/failures. Upgraded the action to `v5` per the project's memory guidelines to ensure stability.
💡 What: The UX enhancement added
role="dialog",aria-modal="true") to custom modals.<div>s to semantic<button>s with explicitaria-labels.aria-labelto the screenshot icon-only button in the main input bar.Escapekey listener to dismiss open modals.🎯 Why: The user problem it solves
Custom modal implementations without native
<dialog>tags leak into screen readers and lack keyboard dismissal functionality (the Escape key). Icon-only buttons withoutaria-labels are opaque to screen readers. This ensures the app meets baseline keyboard accessibility and semantic expectations.♿ Accessibility: Any a11y improvements made
PR created automatically by Jules for task 9780340626638383814 started by @dqikfox