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

By Daniil Gusev, 31 March, 2021

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

By Kevin Shaw on Friday, April 23, 2021 - 01:52

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.

By Bruce Harrell on Friday, April 23, 2021 - 01:52

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