Hello,
Our web site is monitored for accessibility issues by
Siteimprove. Last month it began flagging pages on our site for the issue "Field input error is not announced in full", which it describes as follows:
"Field inputs that are marked as aria-live='assertive' cause a screen reader to interrupt the user when an error occurs. Marking a field input as aria-atomic means that the screen reader announces the complete error message each time it occurs."
The HTML it identified as problematic is two empty <div> elements just before the </body> end tag:
<div class="MJX_LiveRegion" aria-live="assertive" style="background-color: white;"><div></div></div>
<div class="MJX_LiveRegion" aria-live="assertive" style="background-color: white;"><div></div></div>
These appear to be added to the page's Document Object Model by MathJax. Despite the fact that the divs are not part of a form and would be ignored by any screen reader, Siteimprove docks us a few points, which unfortunately is noted by the higher-ups.
Siteimprove's recommendation is that any element with aria-live="assertive" should also have aria-atomic="true". Is the aria-live attribute crucial for MathJax's functioning, or can it be removed? If not, can the aria-atomic attribute be added? Has this issue come up for anyone else?
--Michael Boudreau
The University of Chicago Press