[thelist] Incorporating a NOSCRIPT declaration where the script is in the header

Mark Groen evolt at markgroen.com
Wed Jan 25 14:51:30 CST 2006


On Wed, 2006-01-25 at 20:23 +0000, Web Designers wrote:

> This work really nicely. Unless the browser has Javascript disabled. 
> No real problem there, but when I check for AAA or 508 compliance, I'm
> told:
> 
> "Rule: 6.3.4 - When SCRIPT Elements are used, the NOSCRIPT element  is
> required in the document.
> Warning - SCRIPT Element(s) are found in  document and the NOSCRIPT
> element is not."
> 
> Ideally, I'd like  to add the noscript element in place of or
> underneath the stylesheet switcher,  but I can't work out how to
> accomplish this - I'm having a "Senior  Moment"...

Simply put the alternate content inside the <noscript></noscript>
element pair, and you're good to go:

http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.3.1


-- 
cheers,

        Mark




More information about the thelist mailing list