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

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

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Thu, 7 Apr 2011 10:37:56 +0100
Message-ID: <BANLkTi=P_o43S7EaLtuR-oDC3FBTWa6YPw@mail.gmail.com>
To: HTMLWG WG <public-html@w3.org>
hi all,

what are the arguments for/against adding a role value to indicate when a
h1-h6 is acting as a subheading?

<h1>heading</h1>
<h2 role=subheading> subtitle </h2>

- removes need for hgroup
- provides unambiguous hook for outline algorithm
- hook for styling
- no back compat issues
- useful for providing clear semantics to accessibility APIs


I am suggesting this in light of the role attribute being defined [1] in
HTML5

[1] http://www.w3.org/Bugs/Public/show_bug.cgi?id=11891
-- 
with regards

Steve Faulkner


<http://www.paciellogroup.com>
 <http://www.paciellogroup.com/resources/wat-ie-about.html>
Received on Thursday, 7 April 2011 09:38:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:24 UTC