Microformat 的日期值模式是否完全可访问?

发布于 2024-08-31 01:40:14 字数 1042 浏览 9 评论 0原文

是否有公告(在 microformats.org 之外),value-class-pattern 是否完全可访问?

例如,给定this Tuesday,屏幕阅读器会说“24 June 2008”还是会说“ 2008 dash 6 dash 24"?

历史

微格式出现了,而且很棒,除了日期等存储在缩写标签中:

<abbr class="dtstart" title="20070312T1700-06">
  March 12, 2007 at 5 PM, Central Standard Time
</abbr>`

这导致屏幕阅读器做一些荒谬的事情,如 hAccessibility。现在 microformats.org发布 value-class-模式 好多了。

但我无法找到来自 WaSP(或其他不直接与微格式相关的可访问性来源)的声明,声明它们现在可供屏幕阅读器等访问。

Has there been an announcement (outside microformats.org) that the value-class-pattern is fully accessible?

e.g. given <abbr class="value" title="2008-06-24">this Tuesday</abbr>, will a screen reader say "24 June 2008" or will it say "2008 dash 6 dash 24"?

History

Microformats came along, and were great, except that dates etc were stored in abbr tags:

<abbr class="dtstart" title="20070312T1700-06">
  March 12, 2007 at 5 PM, Central Standard Time
</abbr>`

This lead to screen readers doing ridiculous things as noted in hAccessibility. Now that microformats.org have released the value-class-pattern it's a lot better.

But I'm left unable to find a declaration from WaSP (or another accessibility source not directly tied to microformats) that declaratively states that they are now accessible to screen readers etc.

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

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

发布评论

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

评论(1

带刺的爱情 2024-09-07 01:40:14

没有什么说屏幕阅读器不能聪明地猜出什么是日期,但在实践中他们一点也不聪明

为了彻底解决这个问题,HTML5 定义了 元素。但是,任何屏幕阅读器或微格式解析器可能尚不支持它。您可以轻松地针对 Google 的实现进行测试。

There's nothing saying that screen readers can't be smart and guess what is a date, but in practice they aren't smart at all

To solve that problem once for all HTML5 defines <time> element. However, it's probably not supported by any screen readers nor microformat parsers yet. You can easily test against Google's implementation.

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