O with occluded right edge to appear also as a C Open Web Components Guides Docs Blog Toggle darkmode

EsLint Plugin Lit A11y: aria-attrs

Elements cannot use an invalid ARIA attribute. This will fail if it finds an aria-* property that is not listed in WAI-ARIA States and Properties spec.

Rule Details

Examples of incorrect code for this rule:

html` <div aria-foo=""></div> `;

Examples of correct code for this rule:

html` <div aria-labelledby="foo"></div> `;

Further Reading