Skip to content

🎨 Palette: Enhance Accessibility in FavoritesPanel#9

Merged
kastnerp merged 1 commit intodevfrom
ux-favorites-a11y-1024019346964237037
Apr 10, 2026
Merged

🎨 Palette: Enhance Accessibility in FavoritesPanel#9
kastnerp merged 1 commit intodevfrom
ux-favorites-a11y-1024019346964237037

Conversation

@kastnerp
Copy link
Copy Markdown
Member

💡 What:

Added accessible disclosure widget attributes (aria-expanded, aria-controls) to the Favorites panel toggle. Hid visual-only decorative text (♥, arrows) from screen readers via aria-hidden="true". Finally, added focus-visible outline styles to all buttons within the component to support keyboard navigation.

🎯 Why:

Screen reader users had no context that the "Favorites" button was a toggle for a collapsible panel, nor could they easily discern the state (expanded vs collapsed) since the visual indicators (/) were read as raw unicode symbols. Furthermore, keyboard users could not easily determine which button was focused within the panel due to missing focus outlines.

📸 Before/After:

No visual difference on load or hover, but keyboard users will now see a blue outline on focused interactive elements.

♿ Accessibility:

  • Added aria-expanded and aria-controls to the toggle button.
  • Added aria-hidden="true" to visual icons/symbols.
  • Added focus-visible:ring-2 to support clear keyboard navigation paths.

PR created automatically by Jules for task 1024019346964237037 started by @kastnerp

…ttons

Added correct disclosure widget ARIA attributes (aria-expanded, aria-controls) to the Favorites Panel toggle. Also explicitly hid decorative text icons/symbols from screen readers and added focus-visible outline states to all buttons in the component for keyboard accessibility.

Co-authored-by: kastnerp <1919773+kastnerp@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown

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

@kastnerp kastnerp merged commit cfb08b2 into dev Apr 10, 2026
@kastnerp kastnerp deleted the ux-favorites-a11y-1024019346964237037 branch April 10, 2026 11:33
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