Alt codes
-
Hello
You had build in alt codes bij imgs, but its gone now
-
Hi @peterdewith!
The alt tag giving options are only available in the pro version. But if you have that, you can only see them, if you turn on the expert mode:
http://doc.smartslider3.com/article/406-secondary-navigation-bar
and it will be next to every image option, so like at the Background image:
http://doc.smartslider3.com/article/1295-slide-settings-background#image-tab
or at the Image layer:
http://doc.smartslider3.com/article/361-image-layerYou had build it also in the free version but its gone
It give errors in w3.org so have to look to someting else
Hi @peterdewith
I just installed the free version from this site to a new WordPress installation and the alt tags are there for both the image layer and the slide background.
Here’s a screenshot: http://imgur.com/a/JpmnwDo you possibly use an older version?
I have found it but its not comming from there
This is the code w3.org with problems (www.creatiefidee.nl)
It is coming from the play icon of your videos: http://imgur.com/a/NDMAQ
and I believe this usage fits for the “certain conditions” exception w3’s validator mentions.Since your cover image already has a play icon, you could just turn off the Play button at the YouTube layer: http://doc.smartslider3.com/article/198-youtube-layer
and we won’t put another image on top of it, so you won’t have this problem.Thats work half. On the first pic i cant turn off the play button (when i do that it turn his on self)
Please open up this file:
wp-content\plugins\smart-slider-3\library\smartslider\plugins\item\youtube\youtube.php
and on line 25. add the alt tag:
), '<img class="n2-video-play n2-ow" alt="" src="' . N2ImageHelperAbstract::SVGToBase64('$ss$/images/play.svg') . '"/>');also at line 73.:
$playImage = '<img class="n2-video-play n2-ow" alt="" src="' . N2ImageHelperAbstract::SVGToBase64('$ss$/images/play.svg') . '"/>';and line 92.:
), '<img class="n2-video-play n2-ow" alt="" src="' . N2ImageHelperAbstract::SVGToBase64('$ss$/images/play.svg') . '"/>');If you use vimeo video, then this file:
wp-content\plugins\smart-slider-3\library\smartslider\plugins\item\vimeo\vimeo.phpline 26.:
), '<img class="n2-video-play n2-ow" alt="" src="' . N2ImageHelperAbstract::SVGToBase64('$ss$/images/play.svg') . '"/>');line 41.:
$playImage = '<img class="n2-video-play n2-ow" alt="" src="' . N2ImageHelperAbstract::SVGToBase64('$ss$/images/play.svg') . '"/>';line 58.:
), '<img class="n2-video-play n2-ow" alt="" src="' . N2ImageHelperAbstract::SVGToBase64('$ss$/images/play.svg') . '"/>');Then press the Clear cache button:
http://doc.smartslider3.com/article/215-cacheAnd you should pass that test!
This will be in the next version, what we can hopefully put out next week, so if it’s not important, you could just wait for the update.
Thanks, i wait for the update
The topic ‘Alt codes’ is closed to new replies.