fix: add missing aria-live to form error messages (#3874)#3884
Merged
raclim merged 11 commits intoprocessing:developfrom Feb 25, 2026
Merged
fix: add missing aria-live to form error messages (#3874)#3884raclim merged 11 commits intoprocessing:developfrom
raclim merged 11 commits intoprocessing:developfrom
Conversation
Contributor
Author
|
hi @raclim, sorry to bother you again! |
raclim
approved these changes
Feb 25, 2026
Collaborator
raclim
left a comment
There was a problem hiding this comment.
Thanks so much for the reminder and for the super clear description of changes, these are great!
Contributor
Author
thank you!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3874
Changes:
aria-live="assertive"to the submit-level error inLoginForm.tsxso screen readers announce "invalid credentials" on failed loginaria-liveto all otherform-errorspans for consistency:ResetPasswordForm.tsx— 1 field error (aria-live="polite")AccountForm.tsx— 4 field errors (aria-live="polite")NewPasswordForm.tsx— 2 field errors (aria-live="polite")CollectionCreate.jsx— 1 submit error (aria-live="assertive") + 1 validation error (aria-live="polite")NewFileForm.jsx— 1 field error (aria-live="polite")NewFolderForm.jsx— 1 field error (aria-live="polite")Used
aria-live="polite"for per-field validation errors (matching existing pattern inLoginForm.tsxandSignupForm.tsx) andaria-live="assertive"for submit-level errors. This resolves the WCAG 2.2 SC 4.1.3 (Status Messages) violation.I have verified that this pull request:
npm run lint)npm run test)npm run typecheck)developbranch.Fixes #123