Skip to content

feat(ux): enhance form accessibility and required indicators#147

Open
myarichuk wants to merge 1 commit into
mainfrom
palette-form-ux-fixes-6052693854942678043
Open

feat(ux): enhance form accessibility and required indicators#147
myarichuk wants to merge 1 commit into
mainfrom
palette-form-ux-fixes-6052693854942678043

Conversation

@myarichuk

Copy link
Copy Markdown
Owner

🎨 Palette: Enhance Auth Forms and Search Input UX

💡 What:

  • Added a visual red asterisk (*) wrapped in an aria-hidden span to all required form labels in the Login and Register pages.
  • Added aria-required="true" to the corresponding InputText fields in Login and Register.
  • Added a descriptive aria-label="Search players or characters" to the search input in the Players view.
  • Added a text-tertiary class to the empty state description text in the Players view for better typographic hierarchy.

🎯 Why:

  • Users relying on screen readers need clear, programmatically associated required field states.
  • Visually sighted users benefit from standard required indicators (*) to quickly scan forms.
  • Icon-only or generic search inputs require an explicit aria-label for screen reader accessibility.

Accessibility:

  • Improved form validation perception for both visual and screen reader users.
  • Improved search input discoverability for screen reader users.

PR created automatically by Jules for task 6052693854942678043 started by @myarichuk

- Added visual and programmatic required indicators (`*` and `aria-required`) to Login and Register forms
- Added missing `aria-label` to the search input in the Players view
- Adjusted empty state typography in Players view for better readability

Co-authored-by: myarichuk <1473701+myarichuk@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.

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