Topic: Screen reader announcements stop after the first validation message
lunaScript49
priority
asked 6 days ago
Our form keeps one alert container above the fields and changes its text after each submit. The first validation summary is announced, but a repeated submission with the same missing fields is often silent.
The alert is visible and keyboard users can reach it. We currently create the live-region element and its message in the same callback. What markup and update sequence should we check for reliable announcements?
Igor Przybysz
staff
answered 5 days ago
Start with a live region already present in the page before adding its message, and update its text after validation. If the text does not change between submissions, assistive technology may have no new content change to announce; a visible alert alone does not guarantee another announcement.
Please share the alert markup, update callback and screen reader being tested. Keep a useful validation summary with links or focus guidance to the invalid controls, and test the repeated-submit flow with that setup before adding timing workarounds. Avoid maintaining several overlapping live regions for the same error.
https://mdbootstrap.com/docs/standard/components/alerts/
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 9.3.0
- Device: Desktop
- Browser: Chrome
- OS: Windows 11
- Provided sample code: No
- Provided link: No