News for hackers. Stuff that matters.
Re:I bootstrapped my private-journaling project into a lifes... by komali2 on Tuesday June 25, 2019 @01:20PM (#20276524)
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?

Re:I bootstrapped my private-journaling project into a lifes... by tracker1 on Tuesday June 25, 2019 @01:29PM (#20276636)
I'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.
Re:I bootstrapped my private-journaling project into a lifes... by inetknght on Tuesday June 25, 2019 @01:22PM (#20276546)
Why not pre-render the graph and serve the pre-rendered image?
Re:I bootstrapped my private-journaling project into a lifes... by komali2 on Tuesday June 25, 2019 @01:24PM (#20276575)
That'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."

Re:I bootstrapped my private-journaling project into a lifes... by theseadroid on Tuesday June 25, 2019 @01:40PM (#20276758)
Javascript 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.