Skip to content

Conversation

@mystic-06
Copy link

Closes #10801

Fix

Technical

  • Added aria-expanded and aria-controls to the print disability checkbox
  • Added role="region", aria-hidden, and aria-labelledby to the dropdown container
  • Added aria-describedby, aria-required, and aria-invalid to the program selector
  • Added role="alert" + aria-live="polite" for error messaging
  • Updated JS to toggle ARIA states dynamically (expanded/hidden/required/invalid) based on checkbox state
  • Added safety null checks to avoid JS errors when elements are not present

Testing

  • Tested with Orca on Linux (CachyOS/GNOME)
  • Verified ARIA state changes through browser DevTools
  • Confirmed error messages are announced correctly
  • Checked keyboard navigation (Tab/Space/Enter/Arrow keys)
  • All existing unit tests pass

@github-actions github-actions bot added the Priority: 2 Important, as time permits. [managed] label Dec 6, 2025
@mystic-06 mystic-06 force-pushed the fix/10801-registration-form-accessibility branch from 9ab795a to 0140821 Compare December 9, 2025 09:18
@mystic-06
Copy link
Author

mystic-06 commented Dec 9, 2025

Hi @jimchamp ! I know maintainers are busy, but I wanted to check in on this PR.
If there’s any feedback or anything I might have missed, I'd be glad to address it.
Thank you!

@github-actions github-actions bot added the Needs: Response Issues which require feedback from lead label Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Response Issues which require feedback from lead Priority: 2 Important, as time permits. [managed]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ARIA roles and attributes to account registration page

2 participants