🎨 Palette: Add ARIA labels to responsive navigation links#16
Conversation
- Added `aria-label` to `<Link>` elements in `DashboardNav` (`src/components/dashboard-nav.tsx`) - Added `aria-label` to `<Link>` elements in `MobileNav` (`src/components/mobile-nav.tsx`) - Created a new entry in `.Jules/palette.md` documenting this accessibility learning. Co-authored-by: vireapp <260846454+vireapp@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. |
💡 What: Added
aria-labelproperties to<Link>elements in theDashboardNavandMobileNavcomponents.🎯 Why: In
DashboardNav, the text label uses ahidden md:inlineclass, removing it from the DOM accessibility tree on mobile sizes, rendering it a meaningless icon button to screen readers. InMobileNav, no text label exists at all. Thesearia-labels restore that crucial navigation context for assistive technologies.♿ Accessibility: Significant improvement for mobile screen reader users who can now announce the name of the destination link before clicking, rather than just hearing "link" or an obscure icon name.
PR created automatically by Jules for task 16924787297398744923 started by @vireapp