-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
[practice] engineeringEngineering related workEngineering related work[type] debtTech debt, refactors, maintenance issuesTech debt, refactors, maintenance issues
Description
Audit Information
- Date: September 17, 2018
- OS: Windows 7 64 bit Enterprise, Service Pack 1
- Browser: Internet Explorer 11
- Screen Reader: JAWS 2018
Describe the bug
Form inputs have inline error messages that are designed to announce themselves to screen readers when an input is invalid or empty. The error messages are firing correctly when inputs are blurred, but are announcing when users re-focus the input and provide a valid entry. The inputs are also not announcing the error message when users provide a second invalid entry.
To Reproduce
- Go to any form input, especially a standard
input[type="text"]which is where the behavior was noted - Focus, and blur the input, preferably using
TABor arrow keys - Verify the error message announces itself
- Refocus the input
- Verify the error message is not read aloud
- Key in a valid entry
- Verify the error message is read aloud, even though a valid entry was provided
- Key in an invalid entry a second time
- Blur and re-focus the input
- Key in a second invalid entry
- Verify the error message is not read aloud, even though the input was in error
Expected behavior
The error message should be announced to screen readers when an input is blurred with invalid or empty data. The error message should fire a second time when invalid data is entered a second time, but should not announce when users enter valid data to correct the first error.
Metadata
Metadata
Assignees
Labels
[practice] engineeringEngineering related workEngineering related work[type] debtTech debt, refactors, maintenance issuesTech debt, refactors, maintenance issues

