How Do Developers Handle Users with JavaScript Disabled?
Asked by
~MightWork
I'm curious about how web developers approach site design considering that some users might have a "Disable JavaScript" plugin. Is this something that developers worry about? How do they go about accommodating those users, if at all? Or do most just assume that users who disable JavaScript understand that parts of the site might not work properly? I'd like to hear different perspectives on this!
Answers
If a site doesn't need JavaScript, I build it to work with just HTML and CSS. That way, even users with JS disabled have a functional experience. But if itโs a web app that relies on JS, then Iโll just inform users that it wonโt work without it.
Reply to this answer
It seems like the majority of developers simply donโt consider it, since most users have JavaScript enabled. If someone disables it, itโs more on them if the site doesnโt work.
28day cycle: Exactly! If someone doesn't have JS on the types of sites I build, it's likely they donโt need the site anyway.
KITE STRING: Right, it's really not our problem at the end of the day.
Reply to this answer
Honestly, I mostly use the `` tag to inform users that the site requires JavaScript to function properly. Itโs a simple way to address the issue without going overboard.
Reply to this answer
In my case, if users donโt run scripts, they just get a very basic interface. I focus more on ensuring that my mobile view looks good since most of our traffic is from mobile devices. Those who disable JS simply get a stripped-down version.
11 herbs drying: I usually ensure everything works well across major browsers, but I donโt have the time to handle every edge case.
Reply to this answer
Most places I've worked have kind of overlooked this. The percentage of users disabling JavaScript is super small. Occasionally, weโll add a noscript message, but that's about it.
Reply to this answer
Add your answer
Answers are reviewed before publication.
81 clues unsolved: Thatโs a smart approach! Plus, with modern CSS, you can accomplish a lot without needing JavaScript.