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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryDNN Accessibility - validating the repository module to the W3C standardsDNN Accessibility - validating the repository module to the W3C standards
Previous
 
Next
New Post
5/23/2007 10:21 PM
 

Hi there,

I'm trying to make the repository module W3C compliant and I use Mozilla Firefox to validate the local HTML to find out what needs to be modified in order for the module to meet XHTML 1.0 Transitional standards.

I've been able to bring the errors from 62 down to 29 errors by fixing / closing tags etc. Most errors were straight forward and were easy to fix.

Unfortunatately I am unable to fix the last 29 errors as these relate to certain HTML tags that do not exist in the repository.aspx page or the default.aspx page.

I've tried stepping through the code and i've not had a lot of luck trying to decipher where I need to make changes. I believe a JavaScript file is generating HTML code on the fly or even a 'code behind' vb file. I just cannot seem to find it. I've looked at the dnncore.js and dnn.js.

Can anyone shed some light and help me out?

Once this is done I have to find a work around to replace javascript classes / functions as most of our users use screen readers and some are colour deficient as well as hearing impaired.

Below are some brief examples of the error messages I get.

 


Example of error messages:

 

This page is not Valid XHTML 1.0 Transitional!

Below are the results of checking this document for XML well-formedness and validity.

Error Line 62 column 13: there is no attribute "CLASS".


<TABLE CLASS= " normal" WIDTH="100%" CELLSPACING="0" CELLPADDING="0" STYLE="paddin

You have used the attribute named above in your document, but the document type
you are using does not support that attribute for this element. This error is often caused
by incorrect use of the "Strict" document type with a document that uses frames (e.g.
you must use the "Transitional" document type to get the "target" attribute), or by using
vendor proprietary extensions such as "marginheight" (this is usually fixed by using
CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you
are using, as an undefined element will have no supported attributes; in this case, see
the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember
XHTML is all lower-case) and/or check that they are both allowed in the chosen
document type, and/or use CSS instead of this attribute. If you received this error when
using the <embed> element to incorporate flash media in a Web page, see the FAQ
item on valid flash.

Error Line 62 column 28: there is no attribute "WIDTH".


<TABLE CLASS="normal" WIDTH= " 100%" CELLSPACING="0" CELLPADDING="0" STYLE="paddin


You have used the attribute named above in your document, but the document type
you are using does not support that attribute for this element. This error is often caused
by incorrect use of the "Strict" document type with a document that uses frames (e.g.
you must use the "Transitional" document type to get the "target" attribute), or by using
vendor proprietary extensions such as "marginheight" (this is usually fixed by using
CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you
are using, as an undefined element will have no supported attributes; in this case, see
the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember
XHTML is all lower-case) and/or check that they are both allowed in the chosen
document type, and/or use CSS instead of this attribute. If you received this error when
using the <embed> element to incorporate flash media in a Web page, see the FAQ
item on valid flash.

 
New Post
5/23/2007 10:55 PM
 

not sure where you're looking, there is no repository.aspx page or default.aspx page.

the repository module is an .ascx file and the output is template driven, from html/xml template files that reside in the /DesktopModules/Repository/Templates folder. each template has a series of html/xlm file combos that are parsed and used by the Repository module to generate dynamic html that is injected into a placeholder in the Repository.ascx  file.

 
New Post
5/23/2007 11:11 PM
 

Thanks Steve I'll investigate this and see if I can clear the remaining errors.

With regards to the Default.aspx and the Repsoitory.ascx files (I did type Repository.aspx, sorry I was meant to type in the ascx extension), I've located the Default.aspx page in the website folder, (C:\Inetpub\DotNetNuke\Website\Default.aspx) and the Repsoitory.ascx is in (C:\Inetpub\DotNetNuke441\Website\DesktopModules\Repository\Repository.ascx)

 
New Post
5/24/2007 10:51 AM
 

You might also check to ensure that your skin/containers are correct.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryDNN Accessibility - validating the repository module to the W3C standardsDNN Accessibility - validating the repository module to the W3C standards


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