EsLint Plugin Lit A11y: no-distracting-elements
Enforces that no distracting <marquee>
or <blink>
elements are used. These elements are visually distracting and can cause accessibility issues with visually impaired users. Such elements are also deprecated, and should not be used.
Rule Details
Examples of incorrect code for this rule:
html` <marquee>Can't read this</marquee> `;
html` <blink>Can't read this</blink> `;
Examples of correct code for this rule:
html` <span class="highlight">Readable Content</span> `;