Can we ignore visitors without JavaScript enabled?

According to http://visualrevenue.com/blog/2007/08/eu-and-us-javascript-disabled-index.html, data collected in 2007, 1.04% have it disabled in the EU, and 3.05% have it disabled in the US. The data is a little old but if you look at the trend set from 2006 to 2007 the number of people with it disabled is going down. By now the numbers could be lower.

Disabled JavaScript is really browser independent. All browsers allow you to turn JavaScript off but I believe they all default to having it on.

In general, I wouldn't worry about making your main version of your site work without JavaScript. Most people understand that in order to have a rich experience on the web they need it enabled.

Finally, as for mobile devices. The acceptance rate is lower I believe but I can't give numbers. In general you want to have a different version of your site for mobile browsers anyways because things like mouse over don't work well in mobile touch-screen browsers.


First ask yourself what the primary purpose of your site is. Is your site intended to sell widgets? Is it a discussion forum? Figure out what the primary function is. Once you've done that, make sure the users can do it without JavaScript enabled. It doesn't matter if they miss a few bells and whistles, but make sure users can perform that function without JavaScript.

For example, if your site is an eCommerce site, then a user should be able to browse, add a product to the cart and complete a checkout without JavaScript. Maybe they don't see a pretty animation on the home page, or they can't use some fancy search and filter stuff, but provided they can browse and buy you're good.

Or take Stack Overflow or another Stack Exchange site. The major thing is to browse, ask and answer questions. You'd want that to work without JavaScript. Maybe the user has to hand-type the Markdown because the editor doesn't work, or maybe voting doesn't work, but the user can still perform the main function of the site.

At the end of the day, we all have limited resources and deadlines. It's probably not worth making sure the whole site works without JavaScript, so invest time where you'll get maximum reward.


You want to be careful with this line of thought. Even a few percent could still translate to a large number of visitors. I've read that mobile devices do not run JavaScript as that would consume more battery power.

It's quite possible to build a site that works with JS and without. I recommend building without first, then adding JS with graceful degradation in mind. If the user has JS disabled, the content should still be available.

Tags:

Javascript