Skip to content

🎨 Picasso: [UX improvements] Add accessibility labels and focus states#750

Merged
saint2706 merged 1 commit intomainfrom
picasso-ux-improvements-2427680303145492469
Mar 22, 2026
Merged

🎨 Picasso: [UX improvements] Add accessibility labels and focus states#750
saint2706 merged 1 commit intomainfrom
picasso-ux-improvements-2427680303145492469

Conversation

@saint2706
Copy link
Owner

As "Picasso" 🎨, this PR implements small, impactful UI/UX improvements focused on accessibility and interaction feedback:

Accessibility Enhancements:

  • ErrorBoundary: Added descriptive aria-labels to action buttons for better screen reader context.
  • SearchPalette: Added a dedicated close button with aria-label="Close search" for users who cannot or prefer not to use the ESC key or click outside.

Keyboard Navigation Polish:

  • Added clear :focus-visible styles (utilizing the existing var(--accent-primary) design token) to:
    • Back to Top button
    • Table of Contents toggle button
    • Search Palette close button
    • Search Palette result items

These changes significantly improve the experience for keyboard-only and screen reader users while keeping the code additions minimal and using established variables. All tests and linters pass successfully.


PR created automatically by Jules for task 2427680303145492469 started by @saint2706

- Added explicit `aria-label`s to "Try again" and "Reload page" buttons in `ErrorBoundary` for screen readers.
- Implemented a visible close button for the `SearchPalette` to improve discoverability, especially for users relying on click targets instead of keyboard shortcuts.
- Applied missing `:focus-visible` styles using `var(--accent-primary)` to interactive elements (`.back-to-top`, `.toc-toggle`, `.search-close-btn`, `.search-result-item`) to enhance keyboard navigation clarity without impacting mouse users.

Co-authored-by: saint2706 <45678566+saint2706@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.

@saint2706 saint2706 merged commit a44168a into main Mar 22, 2026
16 checks passed
@saint2706 saint2706 deleted the picasso-ux-improvements-2427680303145492469 branch March 22, 2026 01:53
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