[xhtml2] html/head/body and Document module

Hi,
This is a QA Review comment for "XHTML 2.0"
http://www.w3.org/TR/2006/WD-xhtml2-20060726/
2006-07-26
8th WD

About http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-document.html

(or the coin-coin proposal)

Is there a need to keep the head/body structure of an XHTML 1.0 document in XHTML 2.0. Why not simply doing 

 <html xmlns="http://www.w3.org/2002/06/xhtml2/"
  xml:lang="en">
     <title>Minimal XHTML 2.0 Document</title>
   <section>
     <h>Minimal XHTML 2.0 Document</h>
     <p>some text</p>
   </section>
 </html>

And even better.

 <html xmlns="http://www.w3.org/2002/06/xhtml2/"
  xml:lang="en">
   <section>
     <p property="title">Minimal XHTML 2.0 Document</p>
     <p>some text</p>
   </section>
 </html>

There has been discussions for years on web developers, designers, web teaching mailing lists about title/h1 elements. What should be in title? What should be in h1? Often repeating twice the information once in title and once in h1. it can be mandatory in the same way it is already for title.

 "Every XHTML document must have a title element 
 in the head section."

The WG opens the door to it

 "The title of a document is metadata about the document, 
 and so a title like <title>About W3C</title> is equivalent 
 to <meta about="" property="title">About W3C</meta>."

It would be a lot easier to manage, update, etc if user agents were using the top heading of the document as the title for bookmarking, referencing, indexing. That would be more usable. Specifically in the era, where we consider that meta data are part of the content.

And if one really doesn't want display the title in the page, one can use a CSS property set to display none. Another solution could be a rel attribute saying it's the title for bookmark. Many possibilities which can make the life of authors practical.




-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***

Received on Thursday, 17 August 2006 03:29:16 UTC