Episode 24 game · Sanjaya · Ether
Sanjaya’s Bell
Kai’s settings page shows a “Saved” toast, but a screen reader user hears nothing. Listen to what a screen reader announces, pick the role="status" live region that actually speaks, then prove it rings on every save, even the same message twice.
Profile settings
Display name Kai
1 · Hear the silence
This is Kai’s toast, running for real. Press Save a couple of times. Watch the toast appear, and watch what the screen reader announces.
2 · Pick the toast that speaks
Each option is run on the board and Save is pressed once. Only a live region that was already watched before its text changed will be heard.
3 · Prove it: Save, Save, Save
Kai saves three times in a row. The message is the same each time. Pick how showToast sets the text, then run the test: three saves must be heard three times.
New seal earned
The Silent Suzu rings again
Acharya’s Rule #24Put the live region on the page first. Then change its text, and it will speak.
Put an empty <div role="status"> in the HTML at page load. A region created with its message inside has no change to announce.
role="status" waits politely for news like Saved. role="alert" interrupts, so keep it for real problems.
Clear the text, then set it in a later task, so repeats are heard. Never hide the region with display: none. Test with VoiceOver or NVDA.