Page 1 of 1

Preventing NOSCRIPT comments

Posted: Fri Jun 24, 2005 4:07 pm
by RedBreva
If I have a section of code:

<script type="text/javascript" src="menucode.js"></script>
<!-- If no javascript - provide text menu -->
<p class="textmenu">
<a href="../index.html">Home</a><a href="../sales/index.html">sales </a></p>

How do I persuade HTML checker to not give me messages such as the following:
Message in line xx at character y: (Accessibility->Web Content Accessibility Guidelines 1.0 (Priority 1)) All scripts should have a text equivalent. Consider using the "noscript" element to provide the text equivalent. The content of the "noscript" element will be rendered if scripts are turned off or not supported (the Lynx text-only browser does not support scripts). This message is displayed only once. [P1, 1.1]

when I quite plainly have included a NOSCRIPT alternative, but without disabling the message - so I do get prompted if I have omited the NOSCRIPT...

I am using 7.003 Pro

Posted: Fri Jun 24, 2005 5:32 pm
by Albert Wiersch

I am sorry, but you can only disable that message completely. CSE doesn't know that your "noscript" is for that specific "script" so it displays an informational message regardless of whether there is a "noscript".