react-magma
react-magma copied to clipboard
Input: Error message not read by screenreader without helperMessage
Describe the bug Some screenreaders are not reading input field's error message when "helperMessage" attribute is not specified with any input, although everything works when there is any helper message added (even a space will be enough)
Expected behavior Screen reader reads error message despite the presence of a helper message
Screenshots https://github.com/cengage/react-magma/assets/91160746/8cef6661-16a0-4f56-8f0e-9ca06ee46505
Additional context The issue is reproducible for: Win10 - Chrome - Jaws Win10/11 - FF/Chrome - NVDA
Not reproducible for: Mac 12.6.8 - Safari 16.6 - VoiceOver Ubuntu 20.04.6 - FF/Chrome - Orca.