News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Errors empty link to fancybox via webaim checker

Started by afentiko2000, December 20, 2021, 21:37:59 PM

Previous topic - Next topic

afentiko2000

Hello, I am facing a problem with WCAG2.0 via wave.webaim.org checker. Specifically the errors are an empty link to fancybox "A link contains no text." My html errors
<a href="javascript:;" id="fancybox-left">
<span class="fancy-ico" id="fancybox-left-ico"></span>
</a>

<a href="javascript:;" id="fancybox-right">
<span class="fancy-ico" id="fancybox-right-ico"></span>
</a>
Could someone help me resolve them. There are the last 2 errors in my site and it's highly importan to reset errors.
I am not an expert in coding, self-taught in virtuemart and joomla management.
VM 3.8.8
J 3.9.28



Studio 42

This is not a real problem, because the link is to interact with the slideshow (next and before)
Most javascripts slideshow have same problem
If you really need to solve this then disable pagination links in fancybox code
         nav_left = $('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),
         nav_right = $('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>')


afentiko2000

Thanks for the reply. By disabling pagination you mean to uncomment the lines in components/com_virtuemart/assets/js/fancybox/jquery.fancybox-1.3.4.pack.js ?
I had already done that but the error still exist in checking.