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?

<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

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

Steve Faulkner

Received on Thursday, 7 April 2011 09:38:44 UTC

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