woocommerce / FlexSlider

An awesome, fully responsive jQuery slider plugin
http://www.woocommerce.com/flexslider/
GNU General Public License v2.0
4.92k stars 1.69k forks source link

Alt tag and title tag do not render because they are not passed to zoomImg #1718

Closed laptopleon closed 1 month ago

laptopleon commented 6 years ago

According to W3 principles, every img must have an alt tag, even if this is an empty tag. This is very important to disabled people as well as SEO.

The FlexSlider main image is given a zoomImg class instance on mouse cursor hover. This div shows a zoomed-in copy of the main img, but at the moment without copying the alt tag and title tag along with it.

Could this please be fixed?

GTO-1 commented 5 years ago

Sorry open this again, but according to Google and Render Test Tools, the alt tag of the thumbnails cant be read. All Thumbnails generate errors regarding missing alt tags!

Please check the attached screenshots for verification. If this is the case, then it would indeed harm SEO and Google rankings and should be solved if possible.

Thanks

html wc thumb semrush

laptopleon commented 5 years ago

For me, it's reason to avoid sliders as much as possible. People with small businesses hire me for an affordable WP site, but even more important is: optimal SEO. Sliders are appreciated by visitor too of course, but they lack alt-tags and that is bad for your Google listing. Visitors can't appreciate the sliders if they don't see the site in the first place.

currentcreative commented 5 years ago

WooCommerce has the same problem in general with the thumbnail galleries on any single product page because it uses FlexSlider by default, doesn't it? The large item has an alt tag, but any of the thumbnails to click for alternative views do not have an alt tag.

Ooops-404 commented 4 years ago

Is this getting any attention?

laptopleon commented 4 years ago

Apparently not.

It's all very interesting to know that according to some "it shouldn't matter for SEO because the text is on the page" but IMHO this is precisely one of those things that makes the difference between a good site and a great site. It's not accidentally causing red flags on the Google Webmaster Tools etc.