HREF / SRC empty
I was trying to run a validation software within our company's website that was developed using coldfusion.
The website renders perfectly but it fails verification. This is the following error i get.
This link is broken. The SRC or HREF is an empty string
HREF=”” or SRC=”” can cause unexpected effects such as traffic spikes or cookie corruption.
The code affected is:
<a href="" onClick="window.open('#to_root#debug_mode.cfm?height=400,width=500,scrollbars=yes');return false;" target="_top" class="globalNavButton">Debug</a>
I have tried to add a # sign to the href target, but that brought an error to the website and the page would not render.
Would anyone be able to assist on how to bypass this issue?
Originally Posted by VIPStephan
Another alternative is to make it a <span> tag rather than an <a> tag.