Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0508 Complaint in DNN508 Complaint in DNN
Previous
 
Next
New Post
4/17/2008 3:43 PM
 

I have a problem with section 508 complaint scan on my DNN web page, here is error message:

==================================

NOSCRIPT does not follow SCRIPT.
Invalid NOSCRIPT: NOSCRIPT does not follow directly SCRIPT. It may also be the case that SCRIPT/NOSCRIPT is contained within COLGROUP, OPTION, P, TBODY, TFOOT, THEAD. 

<SCRIPT SRC="/homepage/js/dnncore.js" TYPE="text/javascript"></SCRIPT>

==================================

Someone can tell me how to insert line: "<NOSCRIPT></NOSCRIPT> " into DNN source code or how to solve this problem? Thanks for any help.

 

 
New Post
4/17/2008 4:49 PM
 

Hi Kevin,

Looking at Default.aspx.vb, I see that The dnncore.js is added to the page at line 214, as:

Page.ClientScript.RegisterClientScriptInclude("dnncore", ...)

This inserts the script at the very beginning of the page form.

Looking at Default.aspx, I see that a <noscript> tag is indeed included, but it is BEFORE the form.

You might try moving this tag into the form element.  However, I'm not sure if 508 compliance requires a <NOSCRIPT></NOSCRIPT> after EVERY script include, or just the last one.  If it's the latter, you'll be forced to modify Default.aspx.vb and manually insert these tags after every script registration.

Hope this points you in the right direction!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
4/18/2008 3:16 PM
 

Barndon: I think 508 compliant required a <NOSCRIPT></NOSCRIPT> after EVERY script include because I also got the same error after these script:

<script src="/homepage/ScriptResource.axd?d=ItpSzuJEYIFN0F-cO4AC1rGyfbJkEoH1OpVIJg3dmJyRri-a0btHLfxkcYi0L7JT0&t=633202829300000000" type="text/javascript"></script>

or

<script language="javascript">
    var previousSelection;
    var previousSelectionNormal;
    function selectmenuitem(which, toggle, statusdescription, normalcssclass, highlightcssclass)
    {
      if (toggle==true)
      {
        if (previousSelection != null)
          previousSelection.className=previousSelectionNormal;
        which.className=highlightcssclass;
        previousSelection=which;
        previousSelectionNormal=normalcssclass;
      }
      else
        which.className=previousSelectionNormal;
      window.status=statusdescription;
      return true;
    }
   </script>

I'm newbie in DNN, please tell me where or how to insert the tag <NOSCRIPT></NOSCRIPT> after each script? I don't see the "<script>" in DNN source code. Thanks.

 

 
New Post
4/19/2008 3:15 PM
 

Hi Kevin,

You're correct about the <noscript></noscript> being required after every <script> tag.  These tags are being inserted into the markup by various Page.ClientScript calls, which is fully within the responsibility of ASP.NET and not DotNetNuke.  It seems unlikely that ASP.NET would so fundamentally fail in its 508 compliance here, but it nonetheless appears to be the case.

Googling on the topic yields few results.  Can anyone else confirm that the ASP.NET ClientScript.RegisterScriptXXX methods do not emit 508-compliant markup?

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
4/13/2009 10:19 PM
 

In DNN 5.0.1 the explicit registration of dnncore seems to have been removed from Default.aspx.vb.

Does anyone know how I can put a <noscript>  tag around it?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0508 Complaint in DNN508 Complaint in DNN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out