Click to See Complete Forum and Search --> : WCAG 1.0 warnings?


spufi
11-11-2003, 01:31 AM
Just for kicks I tried my site against the WCAG 1.0 standard even though I haven't specifically coded for it. I was just curious to see how off I was. I get no actual errors, but I got these flagged as warnings. I'm going, "huh?"

Rule: 13.2.1 - Documents are required to use the TITLE element.

* Failure - Document does not use the TITLE element.

Rule: 4.3.2 - The HTML (Root) element must use the 'lang' attribute.

* Failure - The HTML (Root) element does not use the 'lang' attribute.

Rule: 3.2.1 - Documents are required to use the !DOCTYPE tag.

* Failure - Document does not contain the !DOCTYPE tag.

PeOfEo
11-11-2003, 01:48 AM
are you using a doc type??? Where do you go to do that wcag validation? I have seen stuff about it on the w3 site but did not see a valiator. Oh you did it manually by comaring your site to the guidelines... nm.

Charles
11-11-2003, 06:01 AM
The Web Content Accessibility Guidelines 1.0 (http://www.w3.org/TR/WCAG10/) require you to use valid HTML, which accounts for the first and third warning, and require you to mark up any changes in the language of the document, which accounts for the middle I think. In the real world I always use the "lang (http://www.w3.org/TR/html4/struct/dirlang.html#adef-lang)" attribute with the HTML element, on these fora I let the DOCTYPE do the work as I don't use an HTML start tag.

A DOCTYPE and a TITLE element are required by all DTDs.

spufi
11-11-2003, 10:40 AM
If you looked at my site by clicking on the www button at the bottom of my post you would see the site I'm talking about. You'll also note that it validates as XHTML 1.1.

http://www.matts-website.net/

Here's the link to what I was using to validate it. If there is a better one, let me know.

http://www.cynthiasays.com/

spufi
11-11-2003, 10:46 AM
Ok, I did another run through and the first warnings I got where from using the Cynthia 1.0 browser. I went and tried IE 6 and I got a completely different list of warnings, but at least they make more sense.

Robert Wellock
11-11-2003, 12:30 PM
Cynthia like most automatons is a substandard method of checking against the WCAG Guidelines. Even: http://www.wave.webaim.org/ can only be used as a interim solution.