Lighthouse errors
-
Google Lighthouse tool is reporting errors from MetaSlider.
1. Image elements do not have [alt] attributes (in Accessibility and SEO)
Failing Elements div.slider-wrapper > div#metaslider_10197 > div.nivo-slice > img <img src="https://www.americanroadtrips.net/wp-content/uploads/2020/10/Monument-Vall…" style="position:absolute; width:700px; height:auto; display:block !important; top…">Lighthouse is calling out these such lines:
<div class="nivo-slice" name="5" style="left: 235px; width: 47px; height: 525px; opacity: 0; overflow: hidden;"><img src="https://www.americanroadtrips.net/wp-content/uploads/2020/10/Monument-Valley-1.jpg" style="position:absolute; width:700px; height:auto; display:block !important; top:0; left:-235px;"></div>
which as can be seen do not have the ALT tags that are set in slider setup and are included in the IMG lines just after the start of the slider code
<div id="metaslider_10197" class="nivoSlider">
e.g.
<img src="https://www.americanroadtrips.net/wp-content/uploads/2020/10/Monument-Valley-1.jpg" height="525" width="700" data-caption="Views around Monument Valley" title="Monument Valley #1" alt="Monument Valley #1" class="slider-10197 slide-10198" style="width: 700px; visibility: hidden; display: inline-block;">2. Links are not crawlable (in SEO)
Uncrawlable Link a.nivo-prevNav a.nivo-nextNav a.nivo-control.active a.nivo-controlAll elements of each slider’s control buttons are reported as “uncrawlable”.
———————–
You can verify this by checking the referenced page. But all the sliders on all pages report the same errors.
How can this be fixed to overcome the Lighthouse errors?
The page I need help with: [log in to see the link]
The topic ‘Lighthouse errors’ is closed to new replies.