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

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

 1) It makes the role attribute a mixed bag of AT-only stuff and other stuff. It would be clearer to keep the role attribute for AT-only stuff.
 2) It would be desirable to have a selector that matches on the outline depth. Making a selector depend on the outline algorithm makes the algorithm performance-sensitive. Doing stuff depending on an attribute value is likely to be more of an issue for performance than doing stuff based on the name of the element.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Thursday, 7 April 2011 11:05:14 UTC