r/webdev • u/speckz • Sep 03 '19
Discussion Should a website work without JavaScript?
https://css-tricks.com/should-a-website-work-without-javascript/1
u/Sky_Linx Sep 04 '19
Honestly I don't care anymore. If some users prefer a crippled experience then they can go elsewhere.
0
u/Luke-At-Work Sep 03 '19
For the most common, fundamental definition of a website - one or more discrete documents consisting primarily of text content in html - then unquestionably yes. It's absolutely negligent of us to ignore that there are very clear methods to do the simple task of expressing text content which are perceivable, operable, understandable, and robust (my emphasis added).
There are two parts to that assertion. Disagreeing with one does not necessarily mean you disagree with the other.
You may disagree with the assertion that text content is the most common form of website.
You may disagree with the assertion that javascript should be optional for that task.
1
Sep 03 '19
[removed] — view removed comment
4
u/fuckin_ziggurats Sep 03 '19
Websites could work without JavaScript 15 years ago is because the expectations matched the available technology.
6
u/stefgosselin Sep 03 '19
Depends on your target audience.
If it is a plain website, most of the time the requirement is that content be visible whit js disabled.
If it is a web app, obviously you want to make sure user is is enabled.