对于禁用了javascript的用户,我们是否还需要备份代码? [英] Do we still need backup code for people who have javascript disabled?

查看:63
本文介绍了对于禁用了javascript的用户,我们是否还需要备份代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在教程中听到了一些内容,如果禁用了javascript,某些内容将无效。偶尔我会看到解决方法。

I hear about it a bit in tutorials that I watch, that certain things won't work if javascript is disabled. Occasionally I see workarounds.

问题是,这些是相关的吗?我无法想象现在有人没有启用javascript的浏览器,除了最古老的手机之外,无论如何你的页面都无法正常呈现。

The question is, are these relevent? I can't imagine anyone not having a javascript enabled browser nowadays, except the most ancient of phones, and chances are your page won't render on them properly anyway.

人们仍然懒得为javascript被禁用编写备份代码吗?

Do people still bother to write backup code for javascript being disabled?

编辑:作为测试,我关闭了javascript。 Facebook不起作用。

As a test, I turned javascript off. Facebook doesn't work.

编辑:我了解视障用户,但如果他们的经验有问题,人们是否关心(严厉,是)?不听起来不尊重,但不遵守严格的标准也会疏远使用Internet Explorer 4和5的人,但我们似乎并不关心它们......?

I understand about visually impaired users, but do people care (harsh, yes) if their experience is buggy? Not to sound disrespectful, but not sticking to strict standards will alienate people using Internet Explorer 4 and 5 too, but we don't seem to care about them...?

编辑:考虑到人们应该这样做,似乎是一个非常自动的响应,考虑到有多少人使用JQuery和其他groovy插件库。

Saying that people should do it seems like a very automatic response, considering how many people use JQuery and other groovy addon libraries.

编辑:我尝试了一堆财富500强网站,到目前为止,我尝试过的网站中有70%已经破产

I tried a bunch of fortune 500 sites, and so far about 70% of the ones I tried have broken

Dell
Walmart
Fedex
Intel
Coca Cola


推荐答案

支持禁用JavaScript的网站是一个很好的想法,但没有多少帮助,价值有问题,恕我直言

Support for JavaScript-disabled web sites a nice thought, but not of much help, and of questionable value, IMHO

设计一个强大的网站几乎是不可能的java脚本,以及那些因任何原因禁用JS的脚本,可能不会期望太多的用户体验。因此,如果您正在为1%的人口编码,那么您别无选择。但对于我们大多数人来说,JS是存在的。可访问性是一个不同的问题,有自己的挑战。当我为惠普做网站时,他们必须满足严格的可访问性标准,并且很难创建除了非常基本的网页之外的任何内容。我不希望任何人。

It is almost impossible to design a robust website without java script, and those that disable JS, for whatever reason, probably don't expect much of a user experience. So if you are coding for that 1% of the population, you have no choice. But for the majority of us, it is a given that JS is there. Accessibility is a different issue, with its own challenges. When I was doing web sites for Hewlett-Packard, they had to meet strict accessibility standards, and it was tough to create anything more than very basic web pages. I wouldn't wish that on anybody.

这篇关于对于禁用了javascript的用户,我们是否还需要备份代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆