🎨 Palette: Improve keyboard navigation and screen reader accessibility#3
🎨 Palette: Improve keyboard navigation and screen reader accessibility#3Dev22603 wants to merge 1 commit into
Conversation
- Added `role="button"`, `tabIndex={0}`, and `onKeyDown` to `ExperienceCard` for full keyboard support.
- Added `aria-label` to icon-only close buttons in `ExperienceModal` and `ProjectModal`.
- Added `focus-visible` styling to cards and buttons to improve focus visibility without disrupting mouse users.
- Reordered CSS `@import` in `index.css` to fix Vite build warnings.
- Recorded a11y learnings in `.Jules/palette.md`.
Co-authored-by: Dev22603 <92785712+Dev22603@users.noreply.github.com>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
✅ Deploy Preview for dev-bachani ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
💡 What: Improved keyboard accessibility for interactive cards and added screen reader labels to modal close buttons.
🎯 Why: Custom
divelements used as interactive cards lack native keyboard support, which impacts users who navigate via keyboard. Icon-only buttons without labels are also completely inaccessible to screen reader users.♿ Accessibility: Added
role="button",tabIndex={0}, keyboard event handlers, andfocus-visiblestyling toExperienceCard. Addedaria-labelto theXbuttons inExperienceModalandProjectModal.PR created automatically by Jules for task 17045885006208749850 started by @Dev22603