Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Javascript Accessibility
  • Posted: 12.08.2004, 14:17
     
    thevdo
    rank:
    Softmore Softmore
    registered:
     May 2004
    Status:
    offline
    last visit:
    02.05.05
    Posts:
    71
    I am trying to make my PostNuke site more 'accessible'. On processing my site through the bobby validator it gives me a telling off for not providing a text alternative for javascript, and recommends the solution in the '<noscript>' atrribute. I have implemented an example of this concept in my theme.php file:

    Code

    echo '<script type="text/javascript">
    <!--
    window.defaultStatus = "Welcome."
    //-->
    </script>'
    ;
    echo '<noscript>
    <!--
    <p>Your browser does not allow Javascript or it has been turned off. This piece of code is therefore irrelavent.</p>
    //-->
    </noscript>'
    ;

    But when I did a validate check on my code when defined at XHTML 1.0 it said that the '<noscript> tag was not allowed 'here'. Where is meant to go?</noscript></noscript>

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula