act-rules / act-rules.github.io

Accessibility conformance testing rules for HTML
https://act-rules.github.io/
Other
136 stars 68 forks source link

Rule: ARIA state or property is permitted [5c01ea]: "The aria-label property is a global property. It is allowed on any semantic role" is not true #2191

Open giacomo-petri opened 4 months ago

giacomo-petri commented 4 months ago

Rule: https://www.w3.org/WAI/standards-guidelines/act/rules/5c01ea/proposed/

Issue description:

There are a couple of Passed Examples that states: "The aria-label property is a global property. It is allowed on any semantic role."

This is not true. Certain semantic roles, such as caption, code, deletion, emphasis, generic, insertion, paragraph, presentation, strong, subscript, and superscript, prohibit the use of aria-label.