A11yAdvent Day 5: Document Outline

Ah, the mythical document outline! If you’re at least a little bit into HTML semantics, you might have heard of the phrase once or twice. Broadly speaking, the document outline is the content structure defined by the headings in a page. This structure …


This content originally appeared on Kitty Giraudel and was authored by Kitty Giraudel

Ah, the mythical document outline! If you’re at least a little bit into HTML semantics, you might have heard of the phrase once or twice. Broadly speaking, the document outline is the content structure defined by the headings in a page. This structure is important as heading navigation is one of the main ways for screen-reader users to browse a website.

In this article for instance, the post title is a

and then we have a bunch of

. If any of these end up needing sub-sectioning, there would be

and so on and so forth. The outline looks like this (as of writing):

1. A11y Advent Calendar
   1.1. Day 1: What is Accessibility?
   1.2. Day 2: Evaluating Accessibility
   1.3. Day 3: Hiding Content
   1.4. Day 4: Self-Explanatory Links
   1.5. Day 5. Document Outline

To check the structure of a document, we can use the same accessibility bookmarklet we’ve mentioned yesterday. When activating it, one of the options is “Headings”, which lists all headings in order and level. From there, we can make sure the structure makes sense, headings are in the right order, and no level is skipped.

For years now, there have been discussions (and even proposals) about taking into consideration sectioning elements like section into the document outline to create sort of sub-structures where every root would go back to h1. This has never been implemented by any browser or supported by any assistive technology so this is basically moot at this point. Stick to appropriate heading levels.

For more information about the history behind the document outline and the proposed resolution algorithm, I encourage you to read the Document Outline Dilemna by Amelia Bellamy-Royds which is a fantastic overview of the topic.


This content originally appeared on Kitty Giraudel and was authored by Kitty Giraudel


Print Share Comment Cite Upload Translate Updates
APA

Kitty Giraudel | Sciencx (2020-12-05T00:00:00+00:00) A11yAdvent Day 5: Document Outline. Retrieved from https://www.scien.cx/2020/12/05/a11yadvent-day-5-document-outline-2/

MLA
" » A11yAdvent Day 5: Document Outline." Kitty Giraudel | Sciencx - Saturday December 5, 2020, https://www.scien.cx/2020/12/05/a11yadvent-day-5-document-outline-2/
HARVARD
Kitty Giraudel | Sciencx Saturday December 5, 2020 » A11yAdvent Day 5: Document Outline., viewed ,<https://www.scien.cx/2020/12/05/a11yadvent-day-5-document-outline-2/>
VANCOUVER
Kitty Giraudel | Sciencx - » A11yAdvent Day 5: Document Outline. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2020/12/05/a11yadvent-day-5-document-outline-2/
CHICAGO
" » A11yAdvent Day 5: Document Outline." Kitty Giraudel | Sciencx - Accessed . https://www.scien.cx/2020/12/05/a11yadvent-day-5-document-outline-2/
IEEE
" » A11yAdvent Day 5: Document Outline." Kitty Giraudel | Sciencx [Online]. Available: https://www.scien.cx/2020/12/05/a11yadvent-day-5-document-outline-2/. [Accessed: ]
rf:citation
» A11yAdvent Day 5: Document Outline | Kitty Giraudel | Sciencx | https://www.scien.cx/2020/12/05/a11yadvent-day-5-document-outline-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.