Announce successful form submissions to screen reader
In three steps of the authentication flow - sign up, submit profile and reset password, after the form is submitted successfully, a view tells you the submission was successful, but nothing is announced to screen readers
Expected behaviour
When form is submitted successfully, the event should be announced to screen readers
Current behaviour
Form is submitted but nothing is announced to SR
Steps to reproduce
The behavior can be observed after filling the forms at https://hhmi.cloud68.co/signup, https://hhmi.cloud68.co/signup-profile, or https://hhmi.cloud68.co/password-reset/:token (link is generated and sent via email after completing https://hhmi.cloud68.co/request-password-reset)
- Access any of the above forms using a screen reader
- Fill all the required fields any of the above forms.
- Submit the form
- You get successful submission screen, but nothing is announced from screen reader
Environment
All environments
Possible solution
Wrap the success component with a div[role="alert"]