WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: How to test AJAX Calls

for

From: Chris Heilmann
Date: Jan 25, 2011 7:36AM


On 25/01/2011 14:03, Nancy Johnson wrote:
> What is the best way to test to see if AJAX calls are accessible to
> screen readers?
>
Try them with a screen reader?

The Ajax call is not the issue - the notification once the data is back
that something changed in the document is. The best trick is to change a
hidden form field (for old screenreaders) and to use WAI-ARIA (for good
things). It is also important to shift the document focus.

I've put a lot of gotchas of Ajax in terms of UX and accessibility in
this article:

http://www.smashingmagazine.com/2010/02/10/some-things-you-should-know-about-ajax/

Enjoy,

Chris