Two Key Challenges for Ajax Adoption that We Have Ignored

July 11, 2006 – 4:52 pm by coachwei | Category WebDev |

There are some fairly big issues with Ajax and I am puzzled. I think the Ajax community need to pay more attention here in order for Ajax to be really adopted.

Before i get into the negatives about Ajax, let me clarify my position about Ajax first.

Yes, there are huge amount of excitement around Ajax. Web companies like Google, and Yahoo are obviously behind Ajax - not only building Ajax-based applications like GoogleMap and Yahoo Mail, but also providing Ajax toolkits such as GWT (http://code.google.com/webtoolkit/) and Yahoo UI Toolkit (http://developer.yahoo.com/yui/). Traditional companies such as IBM and Microsoft are obviously behind Ajax as well. Sun is interesting - Someone joked with me that this year's JavaOne is really JavaScriptOne. BEA's position is well articulated by Bill Roth  (http://br.sys-con.com/read/245319.htm), etc, etc.

No no - I am not against Ajax. In fact,  I am a big fan of Ajax as well. I wrote AjaxWord (http://www.ajaxword.com) from 1997 to 1999, an open source Ajax-based word processor that mimicks Microsoft Word in a browser. I am also fairly actively involved with XAP at Apache  (http://incubator.apache.org/xap). Lastly, I am fairly involved with OpenAjax Alliance (http://www.ajaxalliance.org) and enjoy contributing to and working with brilliant minds such as Jon Ferraiolo, Alex Russel and Adam Peller etc.

However, despite my personal as well as community's excitement around Ajax, there are some major issues that we need to overcome:

1. 10% browsers have Javascript support turned off (see statistics at http://www.w3schools.com/browsers/browsers_stats.asp). It means that 10% users can not access Ajax-based web sites or applications. This is definitely a problem for Ajax. 

In comparison, Java is available on about 94% browsers (all new PCs are pre-bundled with JVM) and Java is available on a lot of mobile devices. Flash is probably somewhere 80%-90% coverage out of box(a side point: the marketing message from Adobe about “Flash covers 97% browsers” is not credible, given that no new PC, or browser, comes with Flash pre-installed like a few years ago. Every time you get a new PC or a new Firefox, you have to download and install Flash on your own. Techies can do it but i doubt normal computer users will be able to do that).

How should we Ajax community deal with this issue? We either have to make Ajax be able to degrade gracefully into plain HTML, or, we have to find a way to make sure all browsers have Javascript support available. We all know the latter is hard. In order for the former to work, Ajax developers and Ajax community must pay attention to this issue, which i don't think the community is paying enough attention yet.

2. Taking the issue a little further, let's talk about accessibility. Plain HTML is fairly good at this because most browsers take good care of accessibility. Most Ajax applications use Ajax widgets that may or may not support accessibility. For example, a lot of Ajax toolkits don’t have support keyboard navigation (mouse-less operation), which is a key requirement for a lot of operational applications. Does anybody know the capability of accessibility support from some of the leading Ajax toolkits such as Dojo, Yahoo UI toolkit and GWT? Please post your discovery so that it can be shared by the community.

Now you can probably see why i am puzzled some times. We all went for Ajax almost “blindly”, and are ignoring some key issues that must be addressed.  Can we at least raise people's attention on these two issues, browser compatibility and accessibility, so that we are all aware of them?

  1. 6 Responses to “Two Key Challenges for Ajax Adoption that We Have Ignored”

  2. GoogleMap is not accessible. Not sure of GWT.

    By Anonymous on Jul 12, 2006

  3. Do you really think these are the two most serious issues with AJAX? I don't think I care all that much if 10% of the browsers have javascript turned off. Those are probably not the people I want to target with my cool new AJAX website anyway and accessibility issues have plagued the web interface since its inceptions so I don't see that specifically as an AJAX issue.

    How about:

    • The general pain of developing and debugging JavaScript in a browser?
    • The minor differences between the XML Parser and DOM implementations in various browsers?
    • The agony of having to dig through an XML DOM just to pull out data elements that were probably just simple attributes of a real object milliseconds earlier?
    • You did sort of touch on the now-I-have-this-hammer-so-everything-is-a-nail syndrome that seems to come with every new technique or technology.

    Like you, I'm not saying that AJAX is bad. It is a great tool for our toolbox. Its just not the tool for every job and I think it has a lot of issues that are more significant than the two you mentioned. Maybe that is just the differences in our respective user bases.

    By Ron Smith on Jul 14, 2006

  4. I currenty work on a FULL AJAX framework that is designed to run a web application in the following modes (1) mouse (not too surprising) (2) keyboard navigation (3) keyboard terminal-like (hit ctrl-esc and enter n-letter code for activity).
    I also do think that it may be capable of supporting screen readers etc. but I didn´t have the time so far to check on it.
    BTW its the fastest I can think of by design. Check out URL for more info on it. Thanks, Frank

    By <a href="http://www.phpbuero.de/"> Frank Thuerigen </a> on Jul 24, 2006

  5. 508 accessibility & javascript-turned-off are minor issues. Let's say that 508 and javascript reduces the population to 85% of all users who can support RIAs. How about other top usability issues facing this 85% - issues like lack of back button functionality, lack of permalink, or lack of visual indicator to know when a POST has completed or failed (heh, even the 404 Error Page serves some use). Any idea what % of users would be turned off by RIAs that fail in these usability challenges???? Probably a whole lot more than 15%.

    By Anonymous on Sep 6, 2006

  6. Hello

    I have studied about ajaxword. I want its source code but http://www.ajaxword.com is not working.

    please provide me any alternate to get the source code of ajaxword.

    Thanks
    Rakesh

    By Rakesh on Nov 3, 2008

  7. Hello from Russia

    By Polprav on Oct 11, 2009

Post a Comment