I have a angular component named error-component. It gets initialized every time a service throws error. Now when there is one error only screen reader reads the error, but in case of multiple errors the screen reader reads only one error and that is the last error. Errors are coming from service side. Sometimes service throws multiple errors.
<div aria-live="polite" role="alert">
<error-component></error-component>
</div>
So when there is one error, screen reader will read it, but in case of multiple errors screen reader reads the first one only.