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

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

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Fri, 8 Apr 2011 12:32:27 +0100
Message-ID: <BANLkTi=1sRQ52m9_S=QcnLV2pmxaP2j2dA@mail.gmail.com>
To: Bruce Lawson <brucel@opera.com>
Cc: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>, HTMLWG WG <public-html@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:27 GMT