[Bug 11731] Replace <hgroup> element with a <subhead> element used as the child of the <hx> element

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11731

graham <grahamlicence@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grahamlicence@yahoo.com

--- Comment #1 from graham <grahamlicence@yahoo.com> 2011-01-11 18:05:02 UTC ---
I disagree with this bug. 

It would be wrong to make fundamental changes to the hgroup definition in this
way. In your proposal the example adds more content to the h1 element than
should be used - if the sub heading is part of the main heading then there
shouldn't be a sub heading at all, as reading the code suggests all the content
is all part of the h1. 

Wrapping a heading and sub heading with hgroup links the two headings, which
wouldn't otherwise be linked (thus read independently of each other) and helps
identify the main, or shortened heading, from the overall heading. 

In the example in the spec, Dr. Strangelove is the main heading of the film
(and the shortened reference) where Dr. Strangelove, Or: How I Learned to Stop
Worrying and Love the Bomb is the full film title (with the second part being a
sub heading). 
I understand some of the confusion around hgroup but the spec is clear on it's
use. The confusion seems to be around when it would be used which, in reality,
wouldn't actually be that often. 

The example you proposed is different to how the spec should be understood as
you are suggesting the subheading tag content is part of the h1 element whereas
the spec refers to related headings on a page, separating a directly linked
subheading with a more individual heading, for example there is no indication
of heading relationships in the below code:

<h1>Page title</h1>
<h2>Page sub heading</h2>
<h3>Navigation</h3>

When adding hgroup the page title and page sub heading is grouped as related
content and separated from the navigation heading:

<hgroup>
<h1>Page title</h1>
<h2>Page sub heading</h2>
</hgroup>
<h3>Navigation</h3>

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 11 January 2011 18:05:04 UTC