Incorporating a NOSCRIPT declaration where the script is in the header

    Date: 01/25/06 (WebDesign)    Keywords: browser, java

    I'm putting together a site with a style switcher based upon the A List Apart one.

    In the head section, I have this:

    
    
    
    


    Then in the body I have the links:
    normal || 
    high contrast || 
    high visibility
    

    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"...

    Any ideas?

    Source: http://community.livejournal.com/webdesign/1050507.html

« CSS, templates, other... || Help!!! »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home