Pattern: Distracting element
Issue: -
Visually distracting elements like and can cause accessibility issues for users with visual impairments or cognitive disabilities. These elements are deprecated and should not be used.
Example of incorrect code:
<marquee>Scrolling text</marquee>
<blink>Flashing text</blink>
Example of correct code:
<div className="announcement">Important text</div>
<span className="highlight">Emphasized text</span>