Re: hgroup: a possible alternative

Leif Halvard Silli, Tue, 11 Jan 2011 19:14:51 +0100:

>> Philip Jägenstedt, Tue, 11 Jan 2011 16:35:53 +0100:

>>>> Why not simply say that <hgroup> may contain a single heading element
>>>> pluz zero or more <sh> elements?
>>> 
>>> How would that be better than the <hgroup> solution we already have? 
>>> Sounds like it's just renaming a <hx> element to <sh>...
> 
>> 1) it solves what Steve's main problem with the current model:
>      [ snipping the 5 points ]
> 
> 6) Forgot to mention CSS: this content model makes hgroup easier to 
> style.

Regarding ARIA: 
 - The <sh> would have a similar role as the <caption> and <figcaption> 
element - that is, currently, no role (speaking in ARIA terms). 
 - <sh> would caption the content of the <hgroup>.
 - The content of <hgroup> would be the <hx> element. 
 - The <hgroup> element would thus have a role similar to the <figure> 
element - that is, currently, no role (speaking in ARIA terms).

Thus, in contrast to the current content model, no elements would need 
to change their ARIA roles when they occur inside the <hgroup> element.
-- 
leif halvard silli

Received on Wednesday, 12 January 2011 00:30:10 UTC