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

hi bruce,

i would suggest that subheading could also be used on <p> or <div> or even
<span>

the subheading attribute would expose the role, the role of the element it
is on would be overriden by the attribute.

regards
stevef

On 8 April 2011 12:23, Bruce Lawson <brucel@opera.com> wrote:

> 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?
>



-- 
with regards

Steve Faulkner
Technical Director - TPG

www.paciellogroup.com | www.HTML5accessibility.com |
www.twitter.com/stevefaulkner
HTML5: Techniques for providing useful text alternatives -
dev.w3.org/html5/alt-techniques/
Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html

Received on Friday, 8 April 2011 11:33:17 UTC