Accessibility: Errors and Success messages not announced to screen reader users
-
Hello,
The plugin’s forms use a span to provide error and success messages to users. For example:
<span class="es_subscription_message error" id="es_subscription_message_67454a67065b4">You need to wait for some time before subscribing again</span>
The messages that are output in this span are not announced to screen reader users because the necessary aria is missing. This span needs
role="alert"
andaria-live="assertive"
added to it so that when content is populated into the span screen readers will announce it.Corrected code:
<span class="es_subscription_message" id="es_subscription_message_67454dc105c20" role="alert" aria-live="assertive"></span>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.