Eeek! The Web without JavaScript

to Development |

There are good reasons to insist that developers take extra time to make Web sites accessible—such as enabling it for the screen readers that blind users need—not the least of which is ADA legislation. But who's paying attention to making a site run well without JavaScript? It might be more necessary than you imagine.

For the last several weeks, I've been living in the future. I interviewed some of the smartest people around about where the world of Web development is headed, much of which centers around "Web 2.0" — which means AJAX, which means JavaScript.

Concurrently, my spouse just launched his client's Web site for a specialty bookstore. He took the time to ensure that its e-commerce system worked even when JavaScript is disabled. It's ugly, he says, but it works. However, he was astounded to see that, in its first week, about 40% (yes, 40%!) of people buying mystery books online (such as a first edition of Diana Gabaldon's Outlander or a signed copy of Joe Garagiola's Just Play Ball) make the purchase with JavaScript turned off.

Is this common? We spent some time puttering through popular sites to see how well they worked with with the feature disabled in the browser, and as expected most of the sites are ugly, lose functionality, or are essentially useless. (CIO.com is better than some, worse than others. But you won't be able to reply to this message unless you turn JavaScript back on.) Yet—as I wrote in that Beyond Ajax set of articles—the world is poised to use more JavaScript, not less. Do you see a problem here?

Before you rush to examine your own site statistics, look at how those metrics are gathered. Your site may not know about the visitors who have turned off JavaScript, giving you questionable numbers (I'm not quite certain of that; I'm sure the SEO techies will clarify for me) and moreover giving you the idea that everybody is using JavaScript when that's not the case.

For example, the Google Analytics UrchinTracker uses JavaScript to collect customer data, using a combination of server and client-side technology including cookies. It promises to let you track events on your site that do not generate a pageview. "Using the urchinTracker JavaScript, you can assign a specific page filename to Flash events, JavaScript events, file downloads, outbound links, and more," they say. The site tracking software we use for CIO.com said that 100% of our visitors use JavaScript; and although it did log our experimental visit (100% minus 1), I'm not sure if I believe it.

Essentially: If your tracking data incorrectly implies that all site visitors use JavaScript, you may be coming to the wrong conclusions.

This sidesteps the issue of why someone would turn off JavaScript, and whether they're dumb to do so. Some people see JavaScript as a security hole; others want to block advertising; still others see user tracking as an invasion of privacy. Some companies turn it off as corporate policy. This isn't about whether they should do so; the bottom line is that they do, and what (if any) consequences that has for your Web site development efforts.

Your developers probably hate to invest the time in writing and testing code for the site to make it "play nice" with screen readers and other legally-mandated accessibity/ADA issues. I understand why. Programmers design apps that do what they must, and use the best technology available, and it's time consuming and annoying

Continue Reading

Print

Browse CIO Blogs

See all CIO Blogs »

Cloud computing has emerged as one of the most significant game changers to hit the technology landscape in the past 20 years. With this massive expansion of the cloud, the perception of the IT organization is shifting from a utility player to a change agent. This eBook breaks down five ways progressive organizations are using cloud-based IT Management solutions to help drive innovation and become more strategic, including: adding visibility and analytics, speeding up time-to-value, lowering costs, improving prioritization, and providing a blueprint for future cloud deployments.
Read the white paper to see how IBM helped Citigroup deliver new services and enhancements to their 200 million customers faster.
There are 3 ways to modernize legacy applications: rewrite completely, acquire packaged solutions or migrate existing code. This paper explains why it's best to migrate and how IBM® Rational® software can help.
Accommodating specific lines of business can result in a hybrid ecosystem of applications and servers. The resulting complexity of this architecture makes for an environment that is costly to maintain and difficult to change when addressing new challenges.
This whitepaper will help you to define a mobile device passcode policy. Security managers must attempt to reconcile two opposing goals. They must: 1) create a passcode policy that is strong enough to protect the device if it is lost or stolen, while: 2) not annoying users with needless length or complexity.
This whitepaper, authored by The Radicati Group, looks at the key reasons organizations should consider moving to a cloud-based archiving solution. Email archiving solutions enable organizations to store, monitor, and collect electronic data exchanged by their users to comply with internal policies and regulations.
ATERNITY will showcase a 30-minute demo on how Fortune 500 companies are leveraging its award-winning FPI Platform to deliver a user-centric approach to Proactive IT Management.
For businesses to move forward and tap into the ever-expanding universe of Internet users and network-enabled devices, it's critical to learn how to make the transition to IPv6. Learn the critical steps your organization must take to make a seamless transition-and keep your business world connected.
Learn how IT teams can protect against spear phishing tactics. Harry Sverdlove, chief technology officer of Bit9 offers a frank discussion about spear phishing - the most common technique used in today's advanced attacks.
Learn how to build a solid business case for your migration to Red Hat Enterprise Linux so you can run leaner, innovate faster, be more flexible and own the New Now.
Social media isn't about you; it's about everything around you. As you consider how your customers want to communicate with you, social media is something that can't be ignored. But what should your strategy be? Is social media "just another channel?" What kind of a plan makes sense for your contact center and for your customers? Join our experts as they share their insight and research results.
Hardware tokens were a popular method of strong authentication in past years but the cumbersome provisioning and distribution tasks, high support requirements and replacement costs have limited their growth. The additional log-in steps that hardware tokens require and the resulting user frustrations have limited adoption and make them impractical for larger scale partner and customer applications.

Newsletter Sign-Up »

Receive the latest news test, reviews and trends on your favorite technology topics

Choose a newsletter
  1. View all Newsletters | Privacy Policy