🎨 Palette: Accessibility improvements for form and file upload#54
🎨 Palette: Accessibility improvements for form and file upload#54
Conversation
… reader support - Add `for` attributes to all form labels linking to select inputs - Add `tabindex="0"` and `role="button"` to `#dropZone` for keyboard focus - Add `keydown` and `click` event listeners to `#dropZone` to allow triggering the file input via keyboard (`Enter`/`Space`) and mouse - Add `aria-live="polite"` to the progress area for dynamic screen reader updates - Add `aria-valuenow`, `aria-valuemin`, and `aria-valuemax` to the progress bar, updated dynamically in JS Co-authored-by: Nawayisus <154715157+Nawayisus@users.noreply.github.com>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
💡 What: Added keyboard accessibility to the file dropzone and improved screen reader support for form inputs and the progress bar.
🎯 Why: To ensure users relying on keyboards or screen readers can interact with the form properly, trigger file uploads without a mouse, and be notified of translation progress.
♿ Accessibility:
forattributes to form labels.#dropZonefocusable (tabindex="0") and semantically a button (role="button").clickandkeydownevent listeners to#dropZonefor triggering file selection.aria-live="polite"to#progressAreaand dynamicaria-valuenowupdates to#progressBar.PR created automatically by Jules for task 7206830020278289544 started by @Nawayisus