aria-live and field updates

Forum
App Development & Programming

I'm starting out doing some accessibility development. I noticed this, if I have a div set like this:
role="status" aria-live="polite" aria-atomic="false"
If I put some text in there and it is reading it, and I append more text before the reader has finished, it stops where it is at and just reads the new text. I'd like it to finish reading what it was doing and then read the additional text I appended to the field.
I tried dynamically creating a new aria-live="polite" element, but it did the same thing.

Options

Comments

Submitted by Alex Marositz on Wednesday, June 5, 2019

Greetings

I am new at this but I think if you leave it on "polite", the screen reader will only read what's appended.

Submitted by netvillage on Wednesday, June 5, 2019

In reply to by Alex Marositz

It does. but the problem is if you have a long string of text in the "polite" div that it's in the middle of reading, and append some more text, it stops in the middle and reads the new. It would be cool if it would finish out