Hi Julian,
Are you able to change the CMS output? If you are you could fix the output (move it out of the "head" section) or at least add special comments so that
CSE HTML Validator ignores it (this would be the best solution):
- Code: Select all
<!--cseignore--><noscript><div>You need to enable javascript for this functionality</div></noscript><!--/cseignore-->
There is no flag that you can use to disable that message but you could use the 'Disable using Exact Text Match' function (available when you right-click on the message in the
Results Window), but that would disable the message for any situation.
You are probably also getting this message: "Text is contained in a "head" element. Because it is contained here, it must also be contained in a "title" element.", and you could also disable this message using the 'Disable using Exact Text Match' function as well.
One final solution, which is more complex and requires v11 pro or higher, would be to use the new "user functions" file and write some functions to disable these messages, but only under the desired circumstances. I can help you with this if you'd like to try it this way.