Feature: Handle inconsistent error display on the Reset Password screen when WCAG 2.2 AA is enabled.
Description: I noticed that the error displayed in the Reset Password flow seems inconsistent. Here’s a detailed breakdown of the flow:
Step 1: Navigate to the Reset Password screen and click the “Reset password” button. Inline error messages appear:
- “Enter a new password”
- “New password confirmation is missing”
Step 2: Enter a valid new password (passing validation rules), but input a confirmation that doesn’t match. Click “Reset password” again. At this point:
- Both input fields are cleared
- Error message “Passwords don’t match” appears
Step 3: Click the “Reset password” button again without making any changes. The focus shifts to the “New password” input, but the “Passwords don’t match” error remains and is not cleared.
My understanding is that in Step 3, clicking the “Reset password” button should display the same inline validation errors as in Step 1, and the “Passwords don’t match” error should be cleared.
Could you please clarify whether this behavior is expected by design or if it is a newly introduced bug?
Use-case: I am following the standard Reset Password flow.