JavaScript Alert Box

Although JavaScript pop-up alert boxes were once discouraged by accessibility experts, modern screen readers and browsers provide excellent support for the basic JavaScript alert box.

See examples of accessible alert boxes on the demo page.

Lightboxes and In-Page Alerts

Alert techniques that can be problematic for accessibility are lightbox overlays alerts or an in-page alert (e.g. one implemented with AJAX). They can be made accessible, but may require ARIA Alerts Role support and should be extensively tested.