Skip to content

Commit b6524b1

Browse files
committed
fix: add aria-live='assertive' to LoginForm submit error (#3874)
1 parent 97f761d commit b6524b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/modules/User/components/LoginForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export function LoginForm() {
105105
)}
106106
</Field>
107107
{submitError && !modifiedSinceLastSubmit && (
108-
<span className="form-error">
108+
<span className="form-error" aria-live="assertive">
109109
{t('LoginForm.Errors.invalidCredentials')}
110110
</span>
111111
)}

0 commit comments

Comments
 (0)