WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: ARIA Examples Specific to Alert

for

From: Steven Faulkner
Date: May 12, 2010 10:06AM


hi also note that role="alert" is not synonymous with a javscript
alert box, role="alertdialog" is closer.
an element with role="alert" is not supposed to recieve focus, it is a
special form of live region where the text content in the alert will
be announced to the user as soon as it appears and usually it is
prefixed with the word "alert".

having a read of the wai-aria best practices 5.3. Choosing Between
Special Case Live Regions
http://www.w3.org/TR/wai-aria-practices/#chobet
may be helpful.
and only ie* and firefox 3+ have practical support for ARIA at this time.


regards
stevef

On 11 May 2010 22:48, Seth Kane < <EMAIL REMOVED> > wrote:
> Does anyone have any examples of ARIA (role=alert) that actually work?  I have been playing around with single page experiences and instead of using a JavaScript dialog I want to utilize an inserted <div> tag with error messages.  I have gone ahead and tried using the role="alert" with focus and tabindex however none of my tests work in IE7 & Jaws 10 or IE7 & NVDA.
>
> I even tried the examples located at: http://test.cita.illinois.edu/aria/alertdialog/alertdialog1.php and none of those seem to work very well.
>
> Any insight would be great.
>
>
> -          Seth
>