Closed
Description
Several rules have assumptions like:
The ARIA attribute is being used to comply to WCAG.
This is pretty vague, and I don't believe this helps readers understand why they might see false positives. My own rule of thumb is that any content author should be able to look at these assumptions and determine whether or not the result they saw is correct, or that one of the assumptions applied.
In this particular case, the assumption could be put like this:
Attributes that start with
aria-
are used to set some state or property that should be picked up by assistive technologies. If anyaria-
attributes are not used for that purpose, the results of this rule may be incorrect.