W3C home > Mailing lists > Public > public-html@w3.org > December 2007

Re: DogFood, take 2

From: Ben 'Cerbera' Millard <cerbera@projectcerbera.com>
Date: Thu, 13 Dec 2007 03:54:52 -0000
Message-ID: <004601c83d3b$ec245cf0$0201a8c0@ben9xr3up2lv7v>
To: "Sam Ruby" <rubys@us.ibm.com>
Cc: "HTMLWG" <public-html@w3.org>

Sam Ruby wrote:
> It might be worth reviewing the changes I made (had to make?) as these may 
> surface use cases that the specification may wish to cater to (or not).
> [...]
> I do think all this needs to be rethought if there is a desire for people 
> to adopt html5 and produce conformant content.

Just for fun, I a ran a recent page from my blog through the HTML5 mode of 
the conformance checker:


Overall, I am happy with the results. But there are two messages which I am 
unhappy with. I think Sam has a point that some of the restrictions in HTML5 
are unhelpful.

Error: Element acronym not allowed as child of element li in this context.

<acronym title> seems fine to me.

* UAs already support <acronym title>.
* Replacing every <acronym title> on the web with <abbr title> would 
probably cost a lot of money.
* It doesn't improve the user experience.
* The lacking support for <abbr title> in IE6 would harm the user 
experience, although by a gradually diminishing amount.

Error: Element u not allowed as child of element samp in this context.

<samp><u> seems fine to me.

* UAs already support <samp><u>.
* Replacing <samp><u> with <samp><span class> or with <samp><font style> 
does not improve the markup, afaict.
* The additional filesize slightly reduces the efficiency and readability of 
the markup.
* Making underline possible only with CSS prevents useful styling being 
available if the author stylesheet is not used.

I propose:

* Allow <acronym title>.
* Allow <samp><u>.
* Allow <acronym> without title. Maybe it can help pronounciation in 
text-to-speech software? I'm unaware of anything currently doing that, 
* Allow <u> anywhere similar elements are allowed (such as <i> and <b>). 
Underlined text may be useful in other situations.

Ben 'Cerbera' Millard
Collections of Interesting Data Tables
Received on Thursday, 13 December 2007 03:55:53 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:29 UTC