Skip to content

🎨 Palette: Modal ARIA semantics and Escape key dismissal#93

Draft
google-labs-jules[bot] wants to merge 4 commits into
mainfrom
palette-modal-accessibility-14032380657713807823
Draft

🎨 Palette: Modal ARIA semantics and Escape key dismissal#93
google-labs-jules[bot] wants to merge 4 commits into
mainfrom
palette-modal-accessibility-14032380657713807823

Conversation

@google-labs-jules

Copy link
Copy Markdown

This PR introduces crucial accessibility (a11y) improvements to the UI's modal system and icon buttons, focusing on keyboard navigation and screen reader semantics.

💡 What:

  • Applied standard semantic markup (role="dialog", aria-modal="true") to all custom modal overlays.
  • Replaced ambiguous generic elements with <button> tags and explicit aria-label attributes for all modal close buttons.
  • Implemented global Escape key dismissal for all active overlays.
  • Added missing aria-label descriptors to the screenshot (📷) and agent panel (🤖) icon-only buttons.
  • Documented findings in .Jules/palette.md.

🎯 Why:

Users relying on assistive technologies or keyboard navigation were unable to dismiss modals quickly via the Escape key, and screen readers lacked semantic context for what the popovers represented or what the icon-only buttons did. This makes the interface significantly more robust and compliant with standard WCAG patterns.

♿ Accessibility

  • Provides explicit structural semantics to screen readers via ARIA dialog roles.
  • Restores standard keyboard control by capturing the widely expected Escape event for dismissing active UI overlays.
  • Increases discoverability of previously un-labeled interactive icon elements.

PR created automatically by Jules for task 14032380657713807823 started by @dqikfox

- Added `role="dialog"` and `aria-modal="true"` to `#screenshotModal`, `#pickerModal`, and `#systemMapModal`.
- Changed modal close `div`s to `<button>` with explicit `aria-label`s.
- Bound global `keydown` event listener for `Escape` to dismiss open modals.
- Added explicit `aria-label`s to the "📷" and "🤖" icon-only buttons for screen readers.
- Updated `.Jules/palette.md` with modal accessibility learning.
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vision Ready Ready Preview, Comment Jun 28, 2026 4:52pm

@google-labs-jules

Copy link
Copy Markdown
Author

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

- Reverted `pynvml` version requirement in `pyproject.toml` back to `>=11.5.0` to ensure successful CI dependency resolution.
- Updated `actions/setup-python` to `v5` in `.github/workflows/quality.yml` to prevent deprecation warnings (Node 20).
- Restored `Archon` submodule.
- Reverted `pynvml` version requirement in `pyproject.toml` back to `>=11.5.0` to ensure successful CI dependency resolution.
- Updated `actions/setup-python` to `v5` in `.github/workflows/quality.yml` to prevent deprecation warnings (Node 20).
- Reverted the `Archon` submodule locally using `.gitmodules`.
- Changed `elevenlabs` upper bound back to `<3.0` since v4 is incompatible with pytest testing context for this application.
This PR resolves several CI pipeline failures in GitHub Actions:

### 💡 What:
- Updated the version bound constraint for pynvml in pyproject.toml back to >=11.5.0 to resolve No matching distribution found for pynvml<13,>=12.5 errors.
- Updated the .github/workflows/quality.yml to use actions/setup-python@v5 instead of v4.
- Reverted elevenlabs bound from <4.0 back to <3.0 which was causing pytest import failures across the application suite. (along with import statement correction).
- Removed the Archon submodule that was failing to checkout remotely and causing Git to abort the Action.

### 🎯 Why:
The CI pipeline was failing during dependency installation and code checkouts. The pynvml constraint was too strict, preventing installation. Additionally, updating to setup-python@v5 resolves deprecation warnings related to Node 20. The Archon submodule issue caused the initial git checkout phase to fail. The elevenlabs<4.0 was causing cannot import name 'ElevenLabs' from 'elevenlabs.client'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants