0
mmukkara created
ASP.NET CORE & Angular
Version: 13.4
We are doing Accessibility fixes and all the error message pop ups we get this issue of "Elements with role="dialog" or role="alertdialog" do not have accessible names."
Where can we fix this and how to fix this.
2 Answer(s)
-
0
Hi,
We are using https://sweetalert2.github.io/ library and these messages are triggered here https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/assets/abp-web-resources/abp.sweet-alert.js.
As far as I can see, sweetalert doesn't allow providing a name attribute, see https://github.com/sweetalert2/sweetalert2/blob/main/src/utils/dom/init.js#L9.
Does it pass if you provice a title when showing the message ?
-
0
it works after providing title. Seems like title is must.