Angular Accessibility

0

Hello, I'm developing a project and implementing accessibility in it. So fine, the screen reader works okay.

My problem is when I exit from screen A and I go to screen B, on screen B has a loading, I would like to warn the screen reader that a loading is running.

How can I do this?

    
asked by anonymous 27.09.2018 / 22:48

1 answer

0

I found people, Valdeir Psr gave me a light in the comments.

In order to notify the user, I only need to put the role attribute with the alert value and the aria-live attribute with the assertive value in my loading.

So the screen reader already warns the user.

    
27.09.2018 / 23:39