The aria-live attribute is added to an element in the document by a script after the onload event completes with the value="assertive". After the aria-live attribute is added, a child DOM element node is added to the element with the aria-live attribute.