Skip to content

🎨 Palette: Improve accessibility and placeholder text in NotepadScreen#110

Open
TargetMisser wants to merge 1 commit intomainfrom
palette-a11y-notepad-734165834398953703
Open

🎨 Palette: Improve accessibility and placeholder text in NotepadScreen#110
TargetMisser wants to merge 1 commit intomainfrom
palette-a11y-notepad-734165834398953703

Conversation

@TargetMisser
Copy link
Copy Markdown
Owner

💡 What:

  • Added proper ARIA-equivalent props (accessible, accessibilityRole, accessibilityLabel) to the icon-only Clear button in the Notepad screen.
  • Added accessibilityState={{ disabled: saved }} to the Save button to communicate its dimmed/disabled state to screen readers.
  • Replaced the hardcoded, multi-line Italian placeholder text with a translated string using the t() hook for better internationalization support.

🎯 Why:
Screen readers previously announced the icon-only "Clear" button simply as "button" or "clickable", which lacks context. Adding labels makes the app more usable for visually impaired users. Furthermore, extracting the placeholder text to translations ensures non-Italian speakers get the correct helper text when creating notes.

📸 Before/After:
Visuals are identical, but VoiceOver/TalkBack will now accurately announce "Clear notes" instead of "Button". The placeholder text translates appropriately based on the device locale.

Accessibility:

  • accessibilityRole="button" added
  • accessibilityLabel={t('notepadClearTitle')} added
  • accessibilityState={{ disabled: saved }} added

PR created automatically by Jules for task 734165834398953703 started by @TargetMisser

- Added accessibility label and role to the clear note icon button
- Added disabled accessibility state to the save button
- Extracted the Italian notepad placeholder and translated it using i18n
- Journaled the a11y findings

Co-authored-by: TargetMisser <52361977+TargetMisser@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.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flight-work-app Ready Ready Preview, Comment, Open in v0 Apr 19, 2026 1:37am

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