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

Interaction of role=heading and the HTML5 outline algorithm is undefined

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 14 Apr 2009 14:28:33 +0300
Message-Id: <8B31EEAD-6486-4FF7-8C76-3E8A1DDDE94B@iki.fi>
To: public-pfwg-comments@w3.org
Cc: HTML WG <public-html@w3.org>
Either role=heading should be ignored by HTML UAs (and be invalid in  
HTML) or some spec should say, in detail, how role=heading interacts  
with the HTML5 outline algorithm.

Note that making it possible to make any element outline algorithm- 
sensitive may preclude useful optimizations if in the future CSS  
defines a markup-language-dependent selector for outline depth.

I think it would be preferable to promote the use of HTML native <h1>  
through <h6>, which predate ARIA and can do all the JS and CSS tricks  
that <div role=heading> can, and remove role=heading.

Henri Sivonen
Received on Tuesday, 14 April 2009 11:29:17 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:44 UTC