role="alert"

Return to main list

This test case is designed to determine how role="alert" is announced by various screen readers.

After a 10 second pause, an error message is injected onto the page. This error message should be announced immediately, even if the screen reader is in the process of reading other content.

Example

Not all that Mrs. Bennet, however, with the assistance of her five daughters, could ask on the subject, was sufficient to draw from her husband any satisfactory description of Mr. Bingley. They attacked him in various ways. With barefaced questions, ingenious suppositions, and distant surmises; but he eluded the skill of them all.

Code

<div role="alert">
</div>

Assistive technologies

VoiceOver

NVDA

JAWS

Return to main list