4
elements
Images must have alternative text
Ensure <img> elements have alternative text or a role of none or presentation
Why it matters
Blocks people with disabilities from using core functionality. Fix as a top priority.
How to fix
- →Element does not have an alt attribute
- →aria-label attribute does not exist or is empty
- →aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
- →Element has no title attribute
- →Element's default semantics were not overridden with role="none" or role="presentation"
Where — sample elements
img[src$="seg"]
<img src="/assets/demo-sites/mars/js/seg" width="1" height="1">
li:nth-child(1) > a[href="mars2.html?a=crater_adventure"] > img[width="210"][height="120"]
<img src="/assets/demo-sites/mars/images/mars-spaceman.jpg" class="" width="210" height="120">
li:nth-child(8) > a[href="mars2.html?a=crater_adventure"] > img[width="210"][height="120"]
<img src="/assets/demo-sites/mars/images/mars-spaceman.jpg" class="" width="210" height="120">
+ 1 more affected element