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

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

From: Bruce Lawson <brucel@opera.com>
Date: Fri, 08 Apr 2011 12:23:17 +0100
To: "Leif Halvard Silli" <xn--mlform-iua@xn--mlform-iua.no>, "Steve Faulkner" <faulkner.steve@gmail.com>
Cc: "HTMLWG WG" <public-html@w3.org>
Message-ID: <op.vtl9w3t0h8on37@bruce-pc>
On Fri, 08 Apr 2011 11:35:03 +0100, Steve Faulkner  
<faulkner.steve@gmail.com> wrote:

> hi leif,
>
> i would suggest
>
> a subheading attribute only be allowed on a sibling of a Hx, otherwise  
> its
> ignored.
>
>> A @suheading attribute very easily looks like a
>> @does-not-affect-outline attribute.
>
> thats what <hgroup> is, with the subheading you get an explicit semantic  
> to
> convey to a11y APIs
> i.e this is a "subheading" of its sibling heading
>
> can anyone provide real world examples where this:
>
> <h2>heading</h2>
> <h2 subheading>subheading<h2>
>
Would subheading always be an attribute of a Hx? Or could you do

<header>
<h1>zombo.com</h1>
<p subheading>The only limit is your imagination</p>
</header>

That is: for a11y mapping, is a subtitle/ subheading a kind of heading or  
p/div etc?
Received on Friday, 8 April 2011 11:23:54 UTC

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