DEV Community

Discussion on: What are the key metrics that you look for Web App optimization?

Collapse
 
tux0r profile image
tux0r

Does it work without Javascript enabled in the web browser?

Collapse
 
papaponmx profile image
Jaime Rios

Should it? Under which circumstances someone might disable Javascript?

Collapse
 
tux0r profile image
tux0r • Edited

Blind users with screenreaders (not sure if they are sophisticated enough already) as well as security-conscious people will have major problems using a website that requires Javascript. So yes, it absolutely must.

HTML forms are enough for most things. Please use the <noscript> tag for more than just complaining to the user.

Collapse
 
sergio profile image
deleteme deleteme

Academically it should, in practice most companies will not schedule the time for the work required to make this happen. It's just a cost sink for them.

Having said that, if your app is a mithril or react app written in javascript, what exactly is supposed to happen for someone with javascript disabled?

Just a: "Please enable javascript to use this site" seems good enough for them.

Collapse
 
tux0r profile image
tux0r • Edited

If your "app" is written in Javascript and excludes many potential users without a technical advantage, you could save a lot of maintenance time and cost by just writing it as a native desktop application instead.

Thread Thread
 
sergio profile image
deleteme deleteme

image

But that's a totally different thing.

Thread Thread
 
tux0r profile image
tux0r

Yup: It is much more flexible because it has full access to the operating system, you won't have to work around the limitations of a web browser, it will require no fast internet connection (but it could perfectly work with one) while hogging less RAM and blind/disabled people are able to use it.

What else?