Validation Summary via Screen Readers

495 Views Asked by At

I have an asp:ValidationSummary control. I have the markup as below:

<asp:ValidationSummary ID="LoginValidationSummary" runat="server" CssClass="validationsummary" ValidationGroup="ApplicantLoginGroup" ClientIDMode="Static" aria-live="assertive" />

When there is a validation error, the screen reader does say "alert", but does not read out the errors listed in the summary section.

Any thoughts?

1

There are 1 best solutions below

0
Vladimir On

There are hundreds of requirements a website should meet to pass validation. So, I never tried to implement accessibility support by myself. I used DX editors (and several other controls) to support accessibility in my applications. They support WCAG and Section 508.