Using WAI-ARIA role="alertdialog" to Identify Errors

User Agent Notes

Supports this technique:

Does NOT support this technique:

Support Notes:



The purpose of this technique is to alert people that an input error has occured. Using role="alertdialog" creates a modal notification that displays the following characteristics:


This example shows how role="alertdialog" can be used to notify someone they have entered invalid information.