Use aria-live to make a polite announcement. Polite announcements do not interrupt the announcements currently being made by the AT and are also not guaranteed to be made.
jQuery.a11yfy.politeAnnounce(msg)
- msg - a String with the information that should be announced to the AT user
jQuery.a11yfy.politeAnnounce("Your cost estimate has been recalculated");
jQuery.a11yfy.assertiveAnnounce
Use aria-live to make an assertive announcement. Assertive announcements will not interrupt the announcements currently being made by the AT.
jQuery.a11yfy.assertiveAnnounce(msg)
- msg - a String with the information that should be announced to the AT user
jQuery.a11yfy.assertiveAnnounce("Please correct the error in the date field before continuing!");
jQuery.a11yfy.politeAnnounce