Skip to content

🎨 Palette: Add context-aware ARIA labels to NoteCard icon buttons#378

Closed
julwrites wants to merge 3 commits into
stagingfrom
palette-ux-aria-labels-4820434883245162918
Closed

🎨 Palette: Add context-aware ARIA labels to NoteCard icon buttons#378
julwrites wants to merge 3 commits into
stagingfrom
palette-ux-aria-labels-4820434883245162918

Conversation

@julwrites
Copy link
Copy Markdown
Owner

💡 What: Added context-aware aria-label attributes to the "Ask AI", "Share", and "Delete" icon-only buttons in the NoteCard component.
🎯 Why: To improve accessibility for screen reader users. When navigating a list of identical cards, generic "Delete" labels become ambiguous. Adding the item's title (e.g., "Delete Genesis Study") provides necessary context.
♿ Accessibility: Ensures interactive elements have descriptive names, meeting WCAG guidelines for non-text content and focusable elements in repeated lists.


PR created automatically by Jules for task 4820434883245162918 started by @julwrites

This commit adds `aria-label` attributes to the "Ask AI", "Share", and "Delete" icon-only `<Button>`s in the `NoteCard` component.

By interpolating the note's title (or "Untitled Note") into the label, it ensures screen reader users have clear, context-aware information when navigating through lists of note cards, preventing ambiguity between identical icon buttons on different cards.

Co-authored-by: julwrites <18639913+julwrites@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.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 25, 2026

Code Coverage Report

Component Metric Percentage
Backend Total 84.1%
Frontend Statements 72.84%
Frontend Branches 58.91%
Frontend Functions 69.6%
Frontend Lines 75.4%

google-labs-jules Bot and others added 2 commits April 25, 2026 13:29
This commit adds `aria-label` attributes to the "Ask AI", "Share", and "Delete" icon-only `<Button>`s in the `NoteCard` component.

By interpolating the note's title (or "Untitled Note") into the label, it ensures screen reader users have clear, context-aware information when navigating through lists of note cards, preventing ambiguity between identical icon buttons on different cards.

Fixes failing tests and improves branch coverage for the component.

Co-authored-by: julwrites <18639913+julwrites@users.noreply.github.com>
Removed the unused `rerender` variable that was causing a linting error (`'rerender' is assigned a value but never used @typescript-eslint/no-unused-vars`) and consequently failing the CI pipeline.

Co-authored-by: julwrites <18639913+julwrites@users.noreply.github.com>
@julwrites julwrites closed this Apr 28, 2026
@julwrites julwrites deleted the palette-ux-aria-labels-4820434883245162918 branch April 28, 2026 15:24
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