paper-input
paper-input copied to clipboard
Screen reader will read the error message even when hidden
Description
The screen reader reads the error message of paper-input even if the error hasn't occurred or if the element is valid.
Expected outcome
The screen reader should not read the error message before the field is in an invalid state.
Actual outcome
Screen reader reads the label of the input and then the error message every time the element get's focus.
Live Demo
https://www.webcomponents.org/element/PolymerElements/paper-input/demo/demo/index.html
Steps to reproduce
- Start screen reader for windows users and the screen readers I've tested it's NVDA and Jaws.
- Open Chrome and visit https://www.webcomponents.org/element/PolymerElements/paper-input/demo/demo/index.html
- Click on or tab to the "Input requires some text"
- The screen reader will read "Needs some text!"
Browsers Affected
- [*] Chrome