W3C home > Mailing lists > Public > public-html@w3.org > November 2010

Re: suggestion for abolition of <hgroup>

From: Bruce Lawson <brucel@opera.com>
Date: Wed, 01 Dec 2010 00:24:07 +1000
To: "Leif Halvard Silli" <xn--mlform-iua@xn--mlform-iua.no>
Cc: "HTML WG" <public-html@w3.org>
Message-ID: <op.vmzmahlfh8on37@bruce-pc.hotel>
On Wed, 01 Dec 2010 00:10:45 +1000, Leif Halvard Silli  
<xn--mlform-iua@målform.no> wrote:


>> I can't see a use-case for multiple adjacent headings in a header
>> that wouldn't be heading+subtitle(s).
>
> Well, to me it happens quite frequently, especially early in a work,
> that I create a section heading and a subsection heading without adding
> any text between the two, and without intending that the two are
> concatenated in an outline algorithm.

Indeed. What I meant (and this is for clarification, rather than  
reinforcement; I'm not married to this idea, merely trying to find a way  
of makking <hgroup> more useful):

if you have a <header> - which people have no difficulty understanding is  
introductory content - and, within that <header> you have adjacent  
headings, then the subordinate ones become subtitles, and are removed from  
the outline.

So

<header>
<h1>brucelawson.co.uk</h1>
<h2>Gorgeousness in a gimp mask</h2>
</header>

magically removes the h2 from the outline, as it's adjacent to the <h1>

But

<header>
<h1>brucelawson.co.uk</h1>
</header>
<h2>Fascinating blogposts about HTML5</h2>

would *not* remove the h2 from the outline, because it feels different -  
it's not part of that introductory content.

The "magic" only happens with adjacent headings inside a <header>, because  
that element is both easily understood enough for people to find no  
difficulty understanding its meaning and new enought that we won't find  
legacy content that has adjacent headings inside a <header>.

b
Received on Tuesday, 30 November 2010 14:24:51 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:27 UTC