🎨 Palette: Add accessible required field indicators to auth forms#144
🎨 Palette: Add accessible required field indicators to auth forms#144myarichuk wants to merge 4 commits into
Conversation
- Append visual asterisk (*) to required form labels. - Hide visual asterisk from screen readers using `aria-hidden="true"`. - Add semantic `aria-required="true"` to required form inputs to ensure screen reader compatibility. - Document this accessibility learning in `.Jules/palette.md`. Co-authored-by: myarichuk <1473701+myarichuk@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. |
- Append visual asterisk (*) to required form labels. - Hide visual asterisk from screen readers using `aria-hidden="true"`. - Add semantic `aria-required="true"` to required form inputs to ensure screen reader compatibility. - Document this accessibility learning in `.Jules/palette.md`. Co-authored-by: myarichuk <1473701+myarichuk@users.noreply.github.com>
- Append visual asterisk (*) to required form labels. - Hide visual asterisk from screen readers using `aria-hidden="true"`. - Add semantic `aria-required="true"` to required form inputs to ensure screen reader compatibility. - Document this accessibility learning in `.Jules/palette.md`. Co-authored-by: myarichuk <1473701+myarichuk@users.noreply.github.com>
- Append visual asterisk (*) to required form labels. - Hide visual asterisk from screen readers using `aria-hidden="true"`. - Add semantic `aria-required="true"` to required form inputs to ensure screen reader compatibility. - Document this accessibility learning in `.Jules/palette.md`. Co-authored-by: myarichuk <1473701+myarichuk@users.noreply.github.com>
💡 What: Added accessible required field indicators to the authentication forms (
Login.razorandRegister.razor).🎯 Why: Forms previously lacked visible indicators and semantic
aria-requiredattributes, making it difficult for both sighted users and screen reader users to identify required inputs before attempting submission.♿ Accessibility: Added
<span aria-hidden="true">*</span>to visual labels so sighted users see the requirement, but screen readers don't read "asterisk". Addedaria-required="true"to the input fields so screen readers announce the requirement contextually.PR created automatically by Jules for task 477766013626901317 started by @myarichuk