How do you force a screen reader to automatically read updated text on a web page?

Forum
App Development and Programming

Greetings. There is a Russian-language multiplayer dungeon game with a web client. A question to the programmer: how is it possible to make the screen reader read them automatically when new lines arrive in the client? What do I need to do?

Options

Comments

Submitted by Kevin Shaw on Thursday, April 1, 2021

You can accomplish this by using ARIA Live Regions. The user's screenreader can be notified of these changes. See here:
https://webaim.org/techniques/aria/

You can set these updates to update in several modes including rude, assertive and polite. These will determine when how the region is spoken if there are other elements being read aloud on the page.

Submitted by Bruce Harrell on Thursday, April 1, 2021

Don't know if this helps, but command r reloads the screen and gives the updated everything.