Mobile app version of vmapp.org
Login or Join
Megan663

: A few things to note: Use of ARIA attributes is not deprecated in HTML, but use on native elements which have built in roles/states and properties is discouraged now as their use in general

@Megan663

A few things to note:
Use of ARIA attributes is not deprecated in HTML, but use on native elements which have built in roles/states and properties is discouraged now as their use in general serves no purpose.

In the case cited they are warnings not errors. It is an error if a MUST requirement is not adhered to. It is a warning if a SHOULD requirement is not adhered to. In the case of SHOULD, there may well be some good reason; such as in this particular instance, the built in role of an element is not exposed by an older browser.

The rules for use of ARIA in HTML, which the W3C validator implements are defined in ARIA in HTML specification, the rules defined in the WHATWG spec are way out of date and not maintained. You can read more about the reasoning for the warnings in On HTML belts and ARIA braces and general info about W3C HTML conformance checkers in HTML5 – Check it Before you Wreck it with Mike[tm] Smith

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Megan663

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme