HTML ARIA Validation Issues (HTML5)

I pretty much make sure my site always checks.

So today, after changing a specific item on my website, I checked the W3C validator again.

And suddenly it turned out about 20 errors - which were not on Thursday (2 days ago).

(For my verification, I chose HTML5 / UTF8 - just like last time)

For some reason, I now get:

The li element is missing one or more of the following attributes: aria-checked, aria-expand, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, role. "- error for each list item I use.

Is ARIA mandatory, and if so, why do I suddenly get these errors - when I did not two days ago?

Maybe I'm missing something. My site can be found here: http://www.project-voorbeeld3.be/

I have to admit that ARIA is new to me now, but I have looked through quite a few articles about this, and I just can’t understand what’s wrong.

Any hints would be appreciated!

+4
source share
3 answers

It looks like a false alarm (only someone made a mistake). Found this post from http://lists.w3.org

+4
source

Making ARIA mandatory in HTML5 would be completely stupid. There are sites that don't really need ARIA functionality, and that will mean that all the web pages that were used for verification should be redone: a terrible amount of pointless work. On the other hand, it’s quite difficult to ignore ARIA errors, while I actually use a validator to find real problems in my HTML. ARIA is good, but it should be optional, not mandatory. I hope they are going to remove this nonsense from the validator in the near future.

+1
source

To date, it seems that the HTML5 errors associated with ARIA have disappeared.

ARIA confirmation can be done from this website: http://validator.w3.org/nu/
But pay attention to this warning:

The W3C Nu Markup validation support service for ARIA validation is a work in progress, so you cannot rely completely on the correct results.

0
source

All Articles