You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The alert contents aren't being read out to screen readers upon being displayed. Tested with ChromeVox and Narrator on Windows (don't have a copy of JAWS installed to test at the moment).
The dialog already traps user focus and allows for standard keyboard navigation, which is a good thing. At the very least the alertdialog role needs to be added to the generated HTML of the alert, along with an aria-describedby attribute pointing at the element that contains the message inside the dialog.
It shouldn't be hard to developers make Sweet Alert accessible. Just some aria and javascript, and it's done. This is the main reason why I don't want to use this while developing.
The alert contents aren't being read out to screen readers upon being displayed. Tested with ChromeVox and Narrator on Windows (don't have a copy of JAWS installed to test at the moment).
The dialog already traps user focus and allows for standard keyboard navigation, which is a good thing. At the very least the
alertdialog
role needs to be added to the generated HTML of the alert, along with anaria-describedby
attribute pointing at the element that contains the message inside the dialog.References:
The text was updated successfully, but these errors were encountered: