HTML ARIA验证问题(HTML5) [英] HTML ARIA validation issues (HTML5)
问题描述
我几乎确保我的网站始终有效。
I pretty much make sure my website(s) always validates.
所以今天,在更改了我网站上的某个项目之后,我再次运行了W3C验证器。
So today, after changing a certain item on my website, I ran the W3C validator once again.
突然有大约20个错误 - 周四(2天前)不存在。
And suddenly got about 20 errors - which weren't there on thursday (2 days ago).
(对于我的验证,我选择了HTML5 / UTF8 - 就像上次一样)
(For my validation I chose HTML5 / UTF8 - just like last time)
出于某种原因,我现在得到了:
For some reason I now get a:
元素
li
缺少以下一个或多个属性:aria-checked,aria-expanded,aria-valuemax,aria- valuemin,aria-valuenow,aria-valuetext,role。 - 我使用的每个列表项的错误。
Element
li
is missing one or more of the following attributes: aria-checked, aria-expanded, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role."-error for every list item I use.
ARIA是强制性的,如果是这样的话,为什么我突然得到这些错误 - 当我两天前没有?
Is ARIA mandatory, and if so why do I suddenly get these errors - when I did not two days ago?
可能是我忽略了一些东西。我的网站可以在这里找到: http://www.project-voorbeeld3.be/
It could be that I'm overlooking something. My website can be found here: http://www.project-voorbeeld3.be/
我不得不承认,A RIA在这一点上对我来说是新手 - 但我已经看了很多关于它的文章,我似乎无法弄清楚出了什么问题。
I have to admit, ARIA is new to me at this point - but I've looked through quite a lot of articles about it, and I just can't seem to figure out what is wrong.
欢迎任何线索!
推荐答案
似乎是一种误报(只是某人的错误)。在http://lists.w3.org上找到此消息
Seems like a false alarm (just somebody's mistake). Found this message from http://lists.w3.org
这篇关于HTML ARIA验证问题(HTML5)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!