可访问性和反废弃性是相互排斥的吗?

发布于 2024-08-03 15:00:49 字数 126 浏览 3 评论 0原文

我想创建一个既难以屏幕抓取又易于访问的网站。

这是一个矛盾修辞吗?

I want to make a site that is both difficult to screen-scrap and accessible.

Is that an oxymoron?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情域 2024-08-10 15:00:49

最有可能的。可访问性依赖于解析底层代码的工具。例如,table“summary”属性,或更常见的是 img 标记上的“alt”属性。此外,这些工具可能会以不那么简单的方式解释代码。

因此,如果一个站点可访问,就相当于说底层代码易于解析。因此,如果它是可解析的,那么它就很容易被删除。

所以,是的,你可以说这是一个矛盾。

Most likely. Accessibility relies on tools that parse the underlying code. For example the table "summary" attribute, or more common, the "alt" attribute on the img tag. In addition, these tools may interpret the code in ways that may not be as straight-forward as this.

So, if a site is accessible is somewhat the same as saying that the underlying code is easily parseable. And, consequently, if it's parseable, it can easily be scraped.

So, yes, you could say it's an oxymoron.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文