Skip to content

[SCREENREADER]: Inline error messages are announcing to screen readers on correction, not on subsequent errors #278

@1Copenut

Description

@1Copenut

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

  1. Go to any form input, especially a standard input[type="text"] which is where the behavior was noted
  2. Focus, and blur the input, preferably using TAB or arrow keys
  3. Verify the error message announces itself
  4. Refocus the input
  5. Verify the error message is not read aloud
  6. Key in a valid entry
  7. Verify the error message is read aloud, even though a valid entry was provided
  8. Key in an invalid entry a second time
  9. Blur and re-focus the input
  10. Key in a second invalid entry
  11. 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.

Screenshots
screen shot 2018-09-20 at 9 54 57 pm


screen shot 2018-09-20 at 9 55 13 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions