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

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