W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2006

[whatwg] headings in aside (was image captions)

From: Michel Fortin <michel.fortin@michelf.com>
Date: Thu, 6 Apr 2006 07:33:42 -0400
Message-ID: <43D16768-B216-4557-9421-8FA8889910B4@michelf.com>
Le 6 avr. 2006 ? 6:44, Alexey Feldgendler a ?crit :

> This heading shouldn't be within the document's main tree of  
> headings. It should be completely taken out, that's what "aside"  
> means. But it can't be done in a backwards compatible way.

Hum, that's true; it seems to be a general issue with asides, not  
limited to figures. Using aside to indicate a sidebar on a page  
shouldn't be much of a problem because the sidebar is usually outside  
of the main content and can have the same heading level as the main  
content. But aside content inserted in the middle of the text is  
already problematic from the semantic standpoint in HTML 4, and  
become a problem to any outliner if it contains headers.

Maybe there could be a <h> element. This way you can use <h1>, <h2>,  
etc. for the main content and <h> for any content outside the main  
outline of the document, like asides. Its use wouldn't be mandatory,  
just like you don't have to use the "right" heading number anymore,  
but recommended for aside backward compatibility with outliners. It  
could also be used in the main content for the 7th heading level and  
beyond.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/
Received on Thursday, 6 April 2006 04:33:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:46 UTC