An attribute starts with aria- but is not a state or property that WAI-ARIA defines
What it finds
Browsers ignore aria- attributes they do not know, so a misspelled one such as aria-labeledby leaves the element without the label or state it was meant to have.
Reported are attributes that start with aria- and are not states or properties of WAI-ARIA 1.2.
From the rule's source, unknown_aria_attribute.rs.
Turn it on, off or suppress it
The rule runs from the recommended tier up. To turn it on in a lower tier, give it a level in tx0.toml:
[rules]
"tx0/ts:unknown-aria-attribute" = "warning"To keep one finding, suppress it with a reason. tx0 suppress ID --reason "..." writes the comment on the line before the code:
// tx0: ignore[tx0/ts:unknown-aria-attribute] reason="..."tx0 explain tx0/ts:unknown-aria-attribute shows the same in the terminal. Found a false positive? Report it.