E-mail List Archives

Re: Are JavaScript alerts accessible?

for

From: Tim Harshbarger
Date: Dec 24, 2009 8:12AM


If the javascript is creating a System alert dialog, it should be accessible. However, for the app you mentioned, you might want to look at some ARIA techniques. There may also be some other techniques that others can suggest.

Tim Harshbarger
Accessible Technology Services
Phone: (309_ 766-0154

"They are able because they believe they are able." - Aeneid V.123

-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of James Kennard
Sent: Thursday, December 24, 2009 7:09 AM
To: WebAIM Discussion List
Subject: [WebAIM] Are JavaScript alerts accessible?

Quite a simple question - but I think I might get a rather verbose
response.

Using Zoomtext and JAWS I noticed an issue with some Ajax on a web site.
The web site has a table, and above the table there is a text field and
an "add" button. You enter a number into the text field and press the
add button to add items to the table.

Using JAWS it was really unclear, that anythign had happened. Using
Zoomtext, unless you happened to have teh table visible on the screen,
it was also unclear.

I thought an obvious way to combat this would be to use a JS alert to
confirm that the entry has been added to the table. But I am unsure if
JS alerts are considered to be accessible. I've had a hunt around and
opinion looks to be a bit fuzzy.

If it makes any difference, the web site in question must have JS
enabled to work in the first instance.


Any thoughts?

thanks :)


SciSys UK Limited. Registered in England and Wales No. 4373530.
Registered Office: Methuen Park, Chippenham, Wiltshire SN14 0GB, UK.

* Before printing, please think about the environment.