W3C home > Mailing lists > Public > public-html@w3.org > April 2011

Re: role="subheading" or role="subtitle" to replace hgroup

From: Masataka Yakura <myakura.web@gmail.com>
Date: Fri, 8 Apr 2011 18:00:45 +0900
Message-ID: <BANLkTimqvioYXt2_Catshyc6mek2G_M1ig@mail.gmail.com>
To: Steve Faulkner <faulkner.steve@gmail.com>
Cc: HTMLWG WG <public-html@w3.org>
On Thu, Apr 7, 2011 at 6:37 PM, Steve Faulkner <faulkner.steve@gmail.com> wrote:
> what are the arguments for/against adding a role value to indicate when a
> h1-h6 is acting as a subheading?
>
> <h1>heading</h1>
> <h2 role=subheading> subtitle </h2>
>
> - removes need for hgroup

Does that suggest removing hgroup from HTML5 spec or keeping it but
discourage the use of it?
Given that: major browsers now recognize hgroup in parsing and styling
level [1][2][3][4][5]; some people have already start using it; and
there are lots of books on HTML5 markup talking about using hgroup
along with sectioning elements, so I don't really want hgroup to be
removed from the spec...

I don't have a strong opinion about adding a role value, though.

[1] http://msdn.microsoft.com/en-US/ie/ff468705.aspx#_HTML5_Semantic_Elements
[2] http://www.apple.com/safari/features.html#technologies
[3] http://www.opera.com/docs/specs/presto27/html5/
[4] https://developer.mozilla.org/en/HTML/Element/hgroup
[5] http://chrome.blogspot.com/2010/10/bringing-another-chrome-release-to-you.html

Regards,
-- 
Masataka Yakura
<myakura.web@gmail.com>
Received on Friday, 8 April 2011 09:01:32 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:24 UTC