Skip to content

🎨 Palette: UX polish and accessibility for V2CouponCenter#84

Merged
godie merged 1 commit intomasterfrom
palette/v2-coupon-ux-polish-10686080230564546550
Mar 27, 2026
Merged

🎨 Palette: UX polish and accessibility for V2CouponCenter#84
godie merged 1 commit intomasterfrom
palette/v2-coupon-ux-polish-10686080230564546550

Conversation

@godie
Copy link
Copy Markdown
Owner

@godie godie commented Mar 23, 2026

This PR improves the UX and accessibility of the V2CouponCenter page.

💡 What:

  • Integrated Util.showToast to provide visual feedback when a user copies a coupon code.
  • Replaced the manual preloader with the reusable CustomPreloader component.
  • Added aria-label="Volver" to the header back button.
  • Added aria-hidden="true" to all decorative Material Icons.
  • Updated button classes from v2-btn-primary (undefined) to v2-btn-filled.

🎯 Why:

  • Users need immediate feedback after interacting with "Copy to clipboard" actions.
  • Standardizing components improves maintainability and visual consistency.
  • Proper ARIA attributes ensure the interface is usable by screen reader users.

♿ Accessibility:

  • Back button now has a descriptive label.
  • Decorative icons are hidden from screen readers to reduce noise.
  • Loading state uses semantic role="progressbar".

This PR also addresses pre-existing linter errors in V2CaseStudy.jsx (unused import) and V2FlashcardStudy.jsx (unused variable) to ensure a clean build.


PR created automatically by Jules for task 10686080230564546550 started by @godie

Added several micro-UX and accessibility improvements:
- Added success toast feedback when copying a coupon code.
- Standardized loading state with CustomPreloader component.
- Improved accessibility with aria-label for back button and aria-hidden for decorative icons.
- Fixed button classes to use v2-theme.css standards.
- Cleaned up unrelated linter errors in V2CaseStudy and V2FlashcardStudy.

Co-authored-by: godie <227743+godie@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.

@godie godie merged commit 9ad1a38 into master Mar 27, 2026
1 check passed
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