JavaScript
Article
By Simon Willison

Usability and accessibility with Ajax

By Simon Willison

The Ajax express train rumbles on, threatening to crush anything in its path. Recent discussion has turned to those critical elements of good web development, usability and accessibility. Accessibility is a major issue with Ajax, mainly because anything that relies on JavaScript to function is inaccessible pretty much by default. There are two solutions: either provide a fall-back system where the site remains useful without its Ajax enhancements, or provide a whole separate interface that works without scripting.

Google recently adopted the second option for GMail. From their What’s New page:

Basic HTML view lets you access your Gmail messages from almost any computer running almost any web browser, even old ones (not just IE5.5+, Mozilla, and Safari). Especially great for traveling, since you never know what kind of browser that internet cafe in Siberia is going to have.

--ADVERTISEMENT--

Standard accessibility good practice is to avoid text-only versions of pages like the plague, but in my opinion the distinction between web content and a web application make simplified versions of Ajax style applications an acceptable compromise.

More on AJAX and accessibility can be found over on Standards-Schmandards.com.

The usability side of Ajax is interesting as well, mainly because Ajax tricks can severely alter the expected behaviour of the browser. Thomas Baekdal put out a set of suggested XMLHttpRequest Usability Guidelines a few weeks ago, and recently followed it up with an article putting his ideas to practise in the context of a neat business card designer example.

Finally, for those who really can’t get enough Ajax Mike Papageorge has assembled a comprehensive list of working examples.

Recommended
Sponsors
The most important and interesting stories in tech. Straight to your inbox, daily. Get Versioning.
Login or Create Account to Comment
Login Create Account