Make sure <blink> elements are not used
The <blink>
HTML element is deprecated and should not be used in modern web development due to accessibility concerns and lack of support in contemporary browsers.
Why It Matters
Blinking text can be distracting and may cause difficulties for users with cognitive disabilities. Additionally, it can be challenging for individuals with visual impairments to read blinking content. The <blink>
element is not supported in most modern browsers, rendering it ineffective and potentially confusing.
How to Fix
Remove all instances of the <blink>
element from your HTML code, as well as text-decoration: blink
from your CSS file(s):
If you wish to emphasize text, consider using CSS properties such as font-weight
, color
, or background-color
to achieve the desired effect without causing accessibility issues.
Example
Incorrect
Using the deprecated <blink>
element:
Correct
Emphasizing text using CSS, without using text-decoration: blink
.
About This Rule
This rule ensures that the <blink>
element is not used in HTML documents, promoting better accessibility and compatibility across web browsers.
Other Rules
Interested in other web accessibility rules? Please see these other rules: