ARIA Notify API Test: Language-Specific Announcement

This test checks the behavior of the ariaNotify API with a language-specific announcement.

Setup Instructions

Setup: Use a screen reader (NVDA, JAWS, VoiceOver, etc.) or other assistive technology that supports the ARIA Notify API.

Instructions: Click the "Run Test" button and listen for the announced text from your screen reader.

Test Expectations

Note: If the ariaNotify API is not supported in your browser, the test will show an appropriate error message.

Test: 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!".

Expected: Screen reader should announce "¡Hola mundo!" using Spanish pronunciation and the button element as context.