WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Are JavaScript alerts accessible?


From: Jared Smith
Date: Dec 24, 2009 8:27AM

On Thu, Dec 24, 2009 at 8:11 AM, Tim Harshbarger wrote:
> 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.

Such as aria alerts which perform exactly the function you're looking
for. The javascript alert would work, but would quickly become
repetitive and annoying, I would think.

This does bring up an interesting question. While you may be
alienating some users due to requiring javascript, introducing a
reliance on ARIA could cause additional problems. With this said, I
don't view reliance on javascript as an accessibility issue - it is
really a much broader usability issue. And with ARIA, so long as the
app isn't *inaccessible* without ARIA, the ARIA can only enhance
accessibility for users that have technology that supports it (which
is already the vast majority of screen reader users). In short, make
it as accessible as you can, then use ARIA to make it even more

Jared Smith