Re: [techs] tests 50, 51, 53 and 54 - title

> Test 50: What if a <title> is present but is not in
> the <head>  section of the HTML document.
> Would that be a pass or a fail? I propose fail,
> but we might want to address it. I've seen it.
>
I agree. The title must be in the head section or you fail the test. Also,
your document won't validate if the title is not in the head. Test 50, in
the procedure section, says to check the <head> section for the title so I
think this issue is covered.

> Test 51: I agree with Becky we should be clear on
> the difference between null (no value), whitespace
> (whitespace value), and non-empty (anything else).
> In almost all cases I treat null and whitespace values
> as equally problematic (the exception is <img> where
> I can think of reasons to have whitespace alt).
>
Yes, we should be clear on this. I propose we change to test text from
"title is not empty" to "title contains text". I'll define "contains text"
within the test to mean that whitespace is excluded. OK? Any other
suggestions?

> Test 53: The most common placeholder text I see is
> "Untitled Document", so I think we should include that.
>
Yes, that's a good one. I'll add it to the list. Any others?

> Test 54: I almost got confused because while the <title>
> elements represent the issue of not describing the
> document properly, the <h1> elements don't represent
> that issue. Just for clarity it might be useful if the <h1>
> of the "fail" test file were "History of Turtles" to repeat
> the confusion.
>
The test file that fails (54-1) is meant to show that the title "history of
turtles" does not describe the document which talks only about birds. If I
change the H1 header so it also contains something about turtles then I
think it confuses the issue. The document will then have some text about
turtles so the title may be appropriate.

Here are some other examples of bad titles:
"new page"
"page 1"
"my paper"
"Monday February 7"

Would using one of these titles make the 'bad' example clearer?

Chris

Links to test cases under discussion below:

> > 50 - Document contains a TITLE element.
> > http://www.w3.org/WAI/GL/WCAG20/tests/test50.html
> >
> > 51 - TITLE is not empty
> > http://www.w3.org/WAI/GL/WCAG20/tests/test51.html
> >
> > 53 - TITLE is not placeholder text
> > http://www.w3.org/WAI/GL/WCAG20/tests/test53.html
> >
> > 54 - TITLE describes the document.
> > http://www.w3.org/WAI/GL/WCAG20/tests/test54.html
> >

Received on Wednesday, 9 February 2005 14:54:32 UTC