company June 9, 2008

Is It OK to Require JavaScript?

Here’s one decision we’re pondering as we build stackoverflow, and I’d like to get your feedback on it: Is it OK to require JavaScript to participate? Note that by “participate” I mean “edit, answer or ask a question”. Of course passively reading a question and the associated answers will work fine without JavaScript enabled. In…
Avatar for Jeff Atwood
Co-Founder (Former)

Here’s one decision we’re pondering as we build stackoverflow, and I’d like to get your feedback on it:

Is it OK to require JavaScript to participate?

Note that by “participate” I mean “edit, answer or ask a question”. Of course passively reading a question and the associated answers will work fine without JavaScript enabled.

In addition to the aforementioned WMD editor, we’re using JQuery to build some cool interactive features into the site, most of which deal with asking and editing questions.

I asked this question on Twitter and got a “mostly yes” answer, with a few objections.

While we do believe in progressive enhancement, it’s possible that some of the features we’re building for asking and editing may be so dynamic that they do not degrade well, if at all.

What say you? Is it OK for a website in 2008 to require JavaScript for active (not passive) participation?

Podcast logo The Stack Overflow Podcast is a weekly conversation about working in software development, learning to code, and the art and culture of computer programming.

Related

Stack Overflow podcast logo
podcast November 6, 2020

Podcast 284: pros and cons of the SPA

In this episode we discuss the rise of the Single Page Application, or SPA. From humble beginnings around 2003, it has come to be a dominant approach for many large tech companies and an alluring option for smaller startups. But for simpler web projects, are there better alternatives? Pawel Skolski wrote this definition of the SPA in…
Avatar for Ben Popper
Director of Content