ARIA Notify API Tests

Test 1: Simple Announcement

A screen reader announcement on the document object with no additional options. The announcement text is "Hello, world!".

Test 2: Simple Announcement on Specific Element

A screen reader announcement against the button that triggers it with no additional options. The announcement text is "Hello, world!".

Test 3: Simple Announcement on Specific Element with Specific Language

A screen reader announcement against the button that triggers it, with no additional options but a lang attribute on the button set to "es" for Spanish. The announcement text is "¡Hola mundo!".

Test 4: Multiple Consecutive Normal Priority Messages

A "Loading..." message followed by a "Loading failed." message, both at normal priority and fired against the document.

Test 5: Multiple Consecutive High Priority Messages

A "Loading..." message followed by a "Loading failed." message, both at high priority and fired against the document.

Test 6: A Normal Priority Message Followed by a High Priority Message

A normal-priority "Loading..." message followed by a high-priority "Loading failed." message, both fired against the document.

Test 7: A Normal Priority Message Interrupted by a High Priority Message

A normal-priority, longer message is interrupted by a high-priority "Something went wrong!" message, both fired against the document. The interrupt should occur roughly two seconds into the first announcement; you may need to slow down your screen reader speech rate so that it happens while the first message is still being spoken.