WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: ARIA Examples Specific to Alert

for

From: Jared Smith
Date: May 11, 2010 5:21PM


On Tue, May 11, 2010 at 3:48 PM, Seth Kane < <EMAIL REMOVED> > wrote:
> Does anyone have any examples of ARIA (role=alert) that actually work?

I believe that the alert role must generally be set with scripting
after the page has loaded. It doesn't work particularly well to just
add role="alert" to an element in the page. But if you have an
existing element and set the role to alert with scripting at some
point well after the page is loaded, it should be read (assuming
you're in an ARIA supported browser and screen reader).

Jared Smith
WebAIM