Skip to content

🎨 Palette: accessible event details controls & focus rings - #371

Merged
nathfavour merged 1 commit into
masterfrom
palette-accessible-event-details-controls-14542453181935597903
Nov 8, 2026
Merged

nathfavour merged 1 commit into
masterfrom
palette-accessible-event-details-controls-14542453181935597903

Conversation

@nathfavour

Copy link
Copy Markdown
Member

💡 What:
Added micro-UX accessibility enhancements across interactive controls in EventDetails.tsx:

  1. Explicit aria-label attributes for icon-only action buttons (close button, title save button, Sidekick companion launcher, and edit about event trigger).
  2. Proper dialog popup semantics on the event visibility trigger (aria-haspopup="dialog", aria-expanded={isVisibilityDrawerOpen}, and descriptive dynamic aria-label).
  3. High-visibility keyboard focus rings (focus-visible:ring-2 focus-visible:ring-[#6366F1] and focus-visible:ring-[#F59E0B]) across interactive controls to support keyboard-only users.

🎯 Why:
Screen readers could not meaningfully announce the intent of icon-only action buttons without labels or popup semantics for drawer triggers. In addition, keyboard users navigating with Tab lacked prominent focus indicators on several buttons.

♿ Accessibility:

  • Added aria-label attributes on icon-only buttons
  • Added aria-haspopup="dialog" and aria-expanded state on visibility control
  • Added focus-visible:ring-2 keyboard focus rings
  • Added unit test in components/events/EventDetails.test.tsx verifying accessibility contract invariants

PR created automatically by Jules for task 14542453181935597903 started by @nathfavour

- Add explicit `aria-label` attributes to icon-only action buttons in `EventDetails` (close button, title save button, Sidekick companion launcher, and edit about event trigger).
- Add accessible dialog trigger semantics (`aria-haspopup="dialog"`, `aria-expanded={isVisibilityDrawerOpen}`, and descriptive `aria-label`) to event visibility control.
- Add accessible keyboard focus rings (`focus-visible:ring-2 focus-visible:ring-[#6366F1]` / `focus-visible:ring-[#F59E0B]`) to all interactive actions.
- Add unit test in `components/events/EventDetails.test.tsx`.

Co-authored-by: nathfavour <116535483+nathfavour@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 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.

@nathfavour
nathfavour merged commit e843f0d into master Nov 8, 2026
4 checks passed
@nathfavour
nathfavour deleted the palette-accessible-event-details-controls-14542453181935597903 branch November 8, 2026 09:41
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.

1 participant