[whatwg] headings in aside (was image captions)
Michel Fortin
michel.fortin at michelf.com
Thu Apr 6 04:33:42 PDT 2006
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/
More information about the whatwg
mailing list