I sometimes disable JavaScript to see how a website behaves without it. I'm often surprised how much the content display relies on it. But I'm unsure whether it's a bug. I read that almost everybody has JavaScript enabled on their device.
Thoughts?
I sometimes disable JavaScript to see how a website behaves without it. I'm often surprised how much the content display relies on it. But I'm unsure whether it's a bug. I read that almost everybody has JavaScript enabled on their device.
Thoughts?
I'm not an a11y expert, but one heuristic I tend to use is to ask whether something fails "gracefully" in the event of an error, whether the error is inability to run JavaScript, access a database, or otherwise not get everything it expected for loading the page.
So, for example, if the whole page just ends up being blank, that's not failing gracefully. Having a fallback where at least something is displayed along with an indication of what the problem is (e.g. "please enable JavaScript") would, to me, make any limitations on functionality more acceptable.
A bug - or, more precisely, a defect - requires that something doesn't meet its requirements or specifications.
If the specifications say that JavaScript is required to use the system, then testing with JavaScript disabled is a waste. These tests don't make any assertions about the system. Although it could be interesting to understand what a user with JavaScript disabled would see and there could be opportunities to improve the user experience in these cases, it wouldn't be a defect.
If there are requirements that users be able to see certain data or perform certain operations even with JavaScript disabled, then this would be a valid test. If disabling JavaScript prevents access to data or functionality that should be accessible, then this would be a bug.