Media Queries for Images and JavaScript Disabled

Wouldn’t it be nice to have media queries in CSS for when JavaScript or images are disabled in the browser? Should we even bother or should the site just degrade naturally in those cases? JavaScript could set or change a CSS class to the HTML tag (like the HTML5 boilerplate does). But sometimes when images are disabled and they have their width and height dimensions set, they take up too much space when images are turned off. Sometimes sites don’t care if people have JS turned off. I have images and JS turned off on my phone, because it’s just too slow to browse with all that stuff loading in.

Leave a Comment

Comments are reviewed before publishing to prevent spam.