8.23 WCAG 2.1 Success Criterion 3.3.1 − Error Identification
If a user makes a mistake, use text to show him/her where and what he/she has done wrong, and how he/she can fix it.
Before Rectification
In the screen on the above, an error has been identified without any information on where the error is and what needs to be fixed.
After Rectification
This is made accessible by telling the user where the error has occurred and what he/she needs to do to fix the error.
WCAG 2.1 Reference:
https://www.w3.org/WAI/WCAG21/Understanding/error-identification