Skip to content

🎨 Palette: UX & Accessibility Improvements - #72

Merged
amrabed merged 1 commit into
mainfrom
palette/ux-accessibility-improvements-5118966436292064
Jun 7, 2026
Merged

🎨 Palette: UX & Accessibility Improvements#72
amrabed merged 1 commit into
mainfrom
palette/ux-accessibility-improvements-5118966436292064

Conversation

@google-labs-jules

Copy link
Copy Markdown
Contributor

This PR introduces several micro-UX and accessibility enhancements to the portfolio.

💡 What:

  1. Motion Sensitivity: Added a global @media (prefers-reduced-motion: reduce) block that disables smooth scrolling and minimizes animation/transition durations.
  2. Keyboard Navigation: Standardized visible focus states using focus-visible:ring-2 focus-visible:ring-primary on all major interactive elements including navigation links, the mobile menu toggle, and external link cards.
  3. Visual Intuition: Added Sun and Moon icons from @heroicons/react to the theme toggle switch in the footer.

🎯 Why:

  • Accessibility: Users with vestibular disorders or visual impairments rely on motion reduction and clear focus indicators.
  • Usability: The theme toggle now provides immediate visual feedback about the current/target state beyond just text.

♿ Accessibility Improvements:

  • Respects system-level motion preferences.
  • Ensures a clear "focus ring" is visible when navigating via keyboard (Tab key).
  • Adds semantic icons to the theme toggle.

📸 Verification:

  • Verified via Playwright screenshots that focus states and icons are appearing correctly.
  • Production build and linting passed successfully.

PR created automatically by Jules for task 5118966436292064 started by @amrabed

- Added `prefers-reduced-motion` support in global CSS.
- Implemented `focus-visible` ring styles for navigation links, mobile menu toggle, and section item cards to improve keyboard navigation.
- Enhanced theme switcher with Sun/Moon icons in the toggle thumb for better visual context.
- Documented UX/accessibility patterns in .jules/palette.md.
@google-labs-jules

Copy link
Copy Markdown
Contributor Author

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

@sonarqubecloud

sonarqubecloud Bot commented Jun 6, 2026

Copy link
Copy Markdown

@amrabed
amrabed marked this pull request as ready for review June 7, 2026 10:36
@amrabed
amrabed merged commit 16ddbd0 into main Jun 7, 2026
5 checks passed
@amrabed
amrabed deleted the palette/ux-accessibility-improvements-5118966436292064 branch June 7, 2026 10:51
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