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

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