To js or not to js?

For all coding issues - MODers and programmers, HTML and more.

Moderators: Jeff250, fliptw

Post Reply
User avatar
Isaac
DBB Artist
DBB Artist
Posts: 7737
Joined: Mon Aug 01, 2005 8:47 am
Location: 🍕

To js or not to js?

Post by Isaac »

I was told, in a jQuery/Python comment box project of mine, that I shouldn't worry about making it friendly for non-javascirpt browsers.

I think I still should, since some people use script blockers. A comment box should work even on a nokia brick.

On the other hand, I'm the only person in the world, in the past several years, that has gone to my site with a cell phone (not to be confused with smartphone).

So... What's your position on this? Do you fear this type of incompatibility when you're planning a web app?


:E
❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉
-⎽__⎽-⎻⎺⎺⎻-⎽__⎽--⎻⎺⎺⎻-★ ·:*¨༺꧁༺ :E ༻꧂༻¨*:·.★-⎽__⎽-⎻⎺⎺⎻-⎽__⎽--⎻⎺⎺⎻-
❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Re: To js or not to js?

Post by Jeff250 »

Yes-ish. This isn't just people on Motorola Clamshells. It's an accessibility issue in general. (Think screen readers.)

The bread and butter of your site should work without Javascript. I can't think of a good justification to require Javascript to post comments. Some optional nifty stuff can be Javascript-only. Also, it's courteous to tell people when their Javascript is disabled that they are not seeing everything because of no Javascript.
Post Reply