Microformat 的日期值模式是否完全可访问?
是否有公告(在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有什么说屏幕阅读器不能聪明地猜出什么是日期,但在实践中他们一点也不聪明…
为了彻底解决这个问题,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.