EsLint Plugin Lit A11y: aria-role
Elements with ARIA roles must use a valid, non-abstract ARIA role. A reference to role definitions can be found at WAI-ARIA site.
Rule Details
Examples of incorrect code for this rule:
html` <div role="foo"></div> `;
Examples of correct code for this rule:
html` <div role="alert"></div> `;
html` <div role="navigation"></div> `;
html` <div role="${foo}"></div> `;
html` <div role=${foo}></div> `;
html` <div></div> `;