Skip to content

🎨 Palette: Improve navigation accessibility with aria-labels#4

Open
vireapp wants to merge 1 commit intomainfrom
palette-fix-nav-a11y-13229211839352632318
Open

🎨 Palette: Improve navigation accessibility with aria-labels#4
vireapp wants to merge 1 commit intomainfrom
palette-fix-nav-a11y-13229211839352632318

Conversation

@vireapp
Copy link
Copy Markdown
Owner

@vireapp vireapp commented Feb 24, 2026

This PR improves accessibility by adding aria-label attributes to navigation links in both MobileNav and DashboardNav components.

Why

Navigation links, especially on mobile, often display only icons. Without aria-label, screen readers cannot announce the purpose of these links, making the app inaccessible to visually impaired users.

What

  • In src/components/mobile-nav.tsx, added aria-label using the item.title property.
  • In src/components/dashboard-nav.tsx, added aria-label using the item.label property.

Verification

  • Verified that MobileNav uses title and DashboardNav uses label for the text content.
  • Ran npm run build to ensure no build errors.
  • Ran npm run lint to ensure no new lint errors were introduced.

PR created automatically by Jules for task 13229211839352632318 started by @vireapp

Added `aria-label` to navigation links in `MobileNav` and `DashboardNav` to ensure screen readers can announce the purpose of the links, especially when they are icon-only (e.g., on mobile).

- `src/components/mobile-nav.tsx`: Added `aria-label={item.title}` to `Link`.
- `src/components/dashboard-nav.tsx`: Added `aria-label={item.label}` to `Button`.

Co-authored-by: vireapp <[email protected]>
@google-labs-jules
Copy link
Copy Markdown

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

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