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

RE: hgroup: a possible alternative

From: Dean Leigh <dean.leigh@deanleigh.co.uk>
Date: Tue, 11 Jan 2011 10:58:53 -0000
Message-ID: <1174F8ED82AF7048905B3241C81BF17BC164C8@HEMV1AUKER.he.local>
To: "Laura Carlson" <laura.lee.carlson@gmail.com>, "James Graham" <jgraham@opera.com>
Cc: "HTML WG LIST" <public-html@w3.org>, "Bruce Lawson" <bruce@brucelawson.co.uk>
I disagree with hgroup as proposed, I think it cuases more problems than it solves.
I agree there is a requirement for sub-headings.
I do not agree that they should be nested within the heading tags as this would cause CSS formatting problems.

Why not:

<h1>Main Heading</h1>
<sh>Subheading</sh>
<p>The content</p>

CSS Formatting the heading group is easily don with a div:

<div class="article">
	<div class="article header">
		<h1>Main Heading</h1>
		<sh>Subheading</sh>
	</div>
	<div class="article content">
		<p>The content</p>
	</div>
</div>

This could also be used through the heading  hierarchy without affecting accessibility as <sh> could be treated like <p>

<h1>Main Heading</h1>
<sh>Subheading</sh>
<p>The content</p>
<h2>Pros</h2>
<sh>Three reasons why to do it</sh>
<ul>
	<li>reason</li>
	<li>reason</li>
	<li>reason</li>
</ul>
<h2>Cons</h2>
<sh>Three reasons why not to do it</sh>
<ul>
	<li>reason</li>
	<li>reason</li>
	<li>reason</li>
</ul>

Regards,
Dean Leigh

-----Original Message-----
From: public-html-request@w3.org [mailto:public-html-request@w3.org] On Behalf Of Laura Carlson
Sent: 11 January 2011 10:41
To: James Graham
Cc: HTML WG LIST; Bruce Lawson
Subject: Re: hgroup: a possible alternative

Hi James,

> Why not <h1>Main Heading <subhead>Subheading</subhead></h1>

Brilliant. To me the current spec is confusing. James your idea is simple to understand. It would be much more easy to teach.

Ian resolved  Doug's bug 11466 "Reword 4.4.7 The hgroup element" as  WONTFIX.
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11466#c3


Bugs filed after October 1, 2010 like 11466 are supposed to treated as Last Call comments. But the Chairs might grant exceptions on a case-by-case basis. [1] If anyone wants to escalate 11466 to an issue it might be worth asking the Chairs about granting an exception.

Best regards,
Laura
[1] http://www.w3.org/html/wg/wiki/LastCallTimeline


--
Laura L. Carlson

Received on Tuesday, 11 January 2011 11:00:18 GMT

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