4 ms·
I get your point in general regarding the internet, but I'm not clear at all on how Javascript would be required for any of the tasks in this website. 1. Show
by komali2 7y ago
I get your point in general regarding the internet, but I'm not clear at all on how Javascript would be required for any of the tasks in this website.
1. Show text content
2. Make the text content look good
3. Allow submission to a comment section
All of those things can be accomplished with some or none javascript. Why make the job harder than necessary? Why screw over screenreaders?
Oh, I see there's a graph there, that probably would use some JS. But why not just hide the graph for noscript users?
- inetknght 7y agoWhy not pre-render the graph and serve the pre-rendered image?
- komali2 7y agoThat'd be even better! I'm not sure how I'd do that off the top of my head, or if I'd bother for a blog post, but it's definitely a good idea. I think the mouseover behavior on the graph is cool though so having both (one for javascript people, one for non-JS people) is smart. It's completely inaccessible to screenreaders, though. I just get "Average Monthly Revenue 2012- 2018 canvas element."
- tracker1 7y agoI'd definitely make the main blog content display without JS... I don't think I'd do that for comments, in fact, been thinking of making something that only supports browsers with web crypto to do a pbkdf2 challenge in order to submit a comment. From there, would add a few more other pieces to sign said submission including the challenge. Although it would eliminate old browsers (and non-chrome edge), it would probably still be better than most captcha solutions.
- theseadroid 7y agoJavascript might not add much value to the reader/end user, but it can/might have made building the above 3 functionalities much faster and easier for the developer. Without Javascript we simply might not have all those great content to begin with. So if it makes the content creators' lives a bit easier, the cost of making the job harder for a small group of end users might be worthwhile.
- deleted 7y ago[deleted]