Steps to reproduce:
In any browser (Firefox/Chrome):
- Head on over to my aria-errormessage code pen
- Enter a number that is 12 or less and click the "Test it" button.
- (optionally) you can move focus away from and back to the input field.
In the code aria-invalid gets set to true on the input and the error message is displayed (it is already connected using aria-errormessage).
Expected behavior:
When aria-invalid is set to true on a form field the screen reader should read any error message id referenced from the input field using aria-errormessage.
NVDA would read the error message after the label and value of the form field (similar to how it would be if it were referenced with aria-describedby), possibly adding a word like "error message" or "error".
Actual behavior:
NVDA does not read the error message when the invalid input is focused.
System configuration:
NVDA version: 2018.1
(with IE11, Chrome 65 and Firefox 52-ESR), was not able to test on latest Firefox build.
NVDA Installed or portable:
Installed
Other information:
Windows version:
Windows 7 and 8 tested.
Name and version of other software in use when reproducing the issue:
Tested with the major browsers on Windows (see above).
Other questions:
N/A.
Steps to reproduce:
In any browser (Firefox/Chrome):
In the code aria-invalid gets set to true on the input and the error message is displayed (it is already connected using aria-errormessage).
Expected behavior:
When aria-invalid is set to true on a form field the screen reader should read any error message id referenced from the input field using aria-errormessage.
NVDA would read the error message after the label and value of the form field (similar to how it would be if it were referenced with aria-describedby), possibly adding a word like "error message" or "error".
Actual behavior:
NVDA does not read the error message when the invalid input is focused.
System configuration:
NVDA version: 2018.1
(with IE11, Chrome 65 and Firefox 52-ESR), was not able to test on latest Firefox build.
NVDA Installed or portable:
Installed
Other information:
Windows version:
Windows 7 and 8 tested.
Name and version of other software in use when reproducing the issue:
Tested with the major browsers on Windows (see above).
Other questions:
N/A.