Comments on: Document Outlines https://stevefaulkner.github.io/html5doctored/outlines/ helping you implement HTML5 today Wed, 30 Mar 2016 14:18:08 +0000 hourly 1 By: Steve Faulkner https://stevefaulkner.github.io/html5doctored/outlines/#comment-1444898 Thu, 15 Jan 2015 11:56:13 +0000 http://html5doctor.com/?p=3433#comment-1444898 Hi Lucio, you need to use character codes for for angle brackets in code examples. Anyway I tested chrome canary 42 and found no support for the outline algorithm apart from CSS sizing of headings, which has been implemented for years. Refer to Using only h1 elements in a HTML document for details of support issues.

]]>
By: Lucio https://stevefaulkner.github.io/html5doctored/outlines/#comment-1441760 Wed, 14 Jan 2015 17:23:43 +0000 http://html5doctor.com/?p=3433#comment-1441760 It seems like document outlines are becoming a reality now, since this code works in both Chrome 39.0.2171.95 and IE 11.0.9600.17501.

Or am I doing something wrong?

]]>
By: Oliver Joseph Ash https://stevefaulkner.github.io/html5doctored/outlines/#comment-1331835 Fri, 26 Dec 2014 21:04:37 +0000 http://html5doctor.com/?p=3433#comment-1331835 Why is the element <title> not considered in the document outline? Surely this should be the root title? I’ve gotten into the habit of having a <h1> at the start of my page to include the page title in the document hierarchy, but surely this shouldn’t be necessary given we have <title>?

]]>
By: Dan https://stevefaulkner.github.io/html5doctored/outlines/#comment-149474 Thu, 24 Jul 2014 08:59:23 +0000 http://html5doctor.com/?p=3433#comment-149474 <figure> does not create a section.

http://www.w3.org/TR/html5/sections.html

]]>
By: Serge https://stevefaulkner.github.io/html5doctored/outlines/#comment-49113 Sun, 20 Apr 2014 02:39:14 +0000 http://html5doctor.com/?p=3433#comment-49113 Thanks, Mike, for your article!

There is a catch for me with the document outline. Say, I have a nav as a sectioning element. On the one hand, I want the nav to be titled, on the other, I don’t need the title (h1, for example) to be shown in the browser. You’ve suggested to hide it (“If you don’t want these headings to be visible, you can always hide them with CSS”), and I would be happy to do it. However, if I hide it with “display:none” it would be “inaccessible” by screen readers. That’s a paradox – it’s visible by an outliner, but not visible by web assistance means. Am I right? So, to avoid any confusion, how do I hide a title of a titled section, to both display it in outliner and not be visible in the browser.

Thank you!

P.S. “visibility: hidden” and “text-indent: -xxxx” won’t work, because they leave traces of “reserved” space for those “hidden” titles.

]]>
By: Steve Faulkner https://stevefaulkner.github.io/html5doctored/outlines/#comment-45127 Sat, 25 Jan 2014 18:47:18 +0000 http://html5doctor.com/?p=3433#comment-45127 Hi Kenneth,
The full text puts the lie to your statement about the p element:

A paragraph is typically a run of phrasing content that forms a block of text with one or more sentences that discuss a particular topic, as in typography, but can also be used for more general thematic grouping. For instance, an address is also a paragraph, as is a part of a form, a byline, or a stanza in a poem.[emphasis mine].

]]>
By: Kenneth https://stevefaulkner.github.io/html5doctored/outlines/#comment-45116 Sat, 25 Jan 2014 17:29:39 +0000 http://html5doctor.com/?p=3433#comment-45116 Using <p> for a subheading is not semantic at all. It is important that a subheading be linked to the heading in some way. Plus, this use of <p> does not even conform to the standard’s definition of the tag. “A paragraph is typically a run of phrasing content that forms a block of text with one or more sentences…”

]]>
By: Steve Faulkner https://stevefaulkner.github.io/html5doctored/outlines/#comment-45063 Sat, 25 Jan 2014 09:43:58 +0000 http://html5doctor.com/?p=3433#comment-45063 Hi Jake, have in page logic that sets the appropriate heading level in context of use.

]]>
By: Jake https://stevefaulkner.github.io/html5doctored/outlines/#comment-44986 Fri, 24 Jan 2014 16:58:53 +0000 http://html5doctor.com/?p=3433#comment-44986 How do we deal with modular content then?

We aren’t really making ‘pages’ anymore, its a collection of bits of content coming from all over, being assembled on the fly.

How are we to mark up all of these modules? Do we assign an arbitrary heading level?

]]>
By: lukas https://stevefaulkner.github.io/html5doctored/outlines/#comment-38655 Mon, 21 Oct 2013 20:50:16 +0000 http://html5doctor.com/?p=3433#comment-38655 @Ove Nyström
add header () to section’s (you can hidde it in css)

]]>