Skip to content

🎨 Palette: Improve view toggle accessibility#20

Open
isaidj wants to merge 1 commit intomainfrom
palette-improve-view-toggle-a11y-14724677157455916800
Open

🎨 Palette: Improve view toggle accessibility#20
isaidj wants to merge 1 commit intomainfrom
palette-improve-view-toggle-a11y-14724677157455916800

Conversation

@isaidj
Copy link
Owner

@isaidj isaidj commented Feb 1, 2026

Refactored ItemsFilter.tsx to improve accessibility of the view mode toggle buttons.

  • Added role="group" and aria-label="View mode" to the container.
  • Added aria-label and aria-pressed to buttons.
  • Added distinct focus styles (focus:ring-2) for keyboard navigation.
  • Added .Jules/palette.md with critical learnings.

PR created automatically by Jules for task 14724677157455916800 started by @isaidj

* 💡 What: Refactored the items view mode toggle (Grid/Compact) to use accessible button attributes and improved focus styles.
* 🎯 Why: The previous implementation relied on `title` attributes, making it difficult for screen reader users to know the current state or available options. Keyboard focus was also not clearly visible.
* 📸 Before/After: Added `aria-label`, `aria-pressed`, `role="group"`, and visible focus rings.
* ♿ Accessibility: Compliant with WCAG guidelines for toggle buttons. Verified with Playwright.

Co-authored-by: isaidj <44456363+isaidj@users.noreply.github.com>
@google-labs-jules
Copy link
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.

@vercel
Copy link

vercel bot commented Feb 1, 2026

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

Project Deployment Actions Updated (UTC)
arcraiderskits Error Error Feb 1, 2026 7:35pm

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