Skip to content

🎨 Palette: Enhance Form and Drop Zone Accessibility#69

Draft
Nawayisus wants to merge 1 commit intomainfrom
palette-a11y-improvements-9335485049865023343
Draft

🎨 Palette: Enhance Form and Drop Zone Accessibility#69
Nawayisus wants to merge 1 commit intomainfrom
palette-a11y-improvements-9335485049865023343

Conversation

@Nawayisus
Copy link
Copy Markdown
Owner

🎨 Palette: Enhance accessibility for primary form and drop zone

💡 What:

  • Added for attributes to all form labels connecting them to their respective inputs.
  • Added ARIA live regions and proper ARIA values for the progress indicator.
  • Added keyboard accessibility to the file upload drop zone, allowing it to be focused and activated via the keyboard, complete with visual focus states matching the drag-and-drop highlight.

🎯 Why:
Users relying on screen readers or keyboard navigation previously could not easily identify form controls, interpret dynamic progress updates, or use the file drop zone without a mouse. These enhancements ensure the core functionality of the application is fully accessible to all users.

♿ Accessibility:

  • Form labels are explicitly linked to inputs.
  • Progress updates are announced dynamically via aria-live="polite".
  • Progress bar semantics are correctly implemented with aria-valuenow.
  • The drop zone is fully keyboard navigable (tabindex="0", role="button", Enter/Space handlers).

PR created automatically by Jules for task 9335485049865023343 started by @Nawayisus

- Add `for` attributes to all form labels linking them to their corresponding select inputs.
- Add `aria-live="polite"` to the status text so screen readers announce dynamic progress updates.
- Add baseline `aria-valuenow="0"`, `aria-valuemin="0"`, and `aria-valuemax="100"` to the progress bar and dynamically update `aria-valuenow` via JavaScript.
- Improve drop zone accessibility by adding `tabindex="0"` and `role="button"`.
- Implement keyboard navigation for the drop zone allowing users to focus it, receive visual highlight feedback, and trigger the file picker using Enter or Space.

Co-authored-by: Nawayisus <154715157+Nawayisus@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