{"id":1062,"date":"2017-01-17T15:30:51","date_gmt":"2017-01-17T23:30:51","guid":{"rendered":"http:\/\/blogs.lanecc.edu\/webteam\/?p=1062"},"modified":"2019-09-17T23:57:05","modified_gmt":"2019-09-18T06:57:05","slug":"understanding-wcag-2-0-2-4-6-heading-and-labels","status":"publish","type":"post","link":"https:\/\/blogs.lanecc.edu\/webteam\/2017\/01\/17\/understanding-wcag-2-0-2-4-6-heading-and-labels\/","title":{"rendered":"Understanding WCAG 2.0: 2.4.6 &#8211; Heading and Labels"},"content":{"rendered":"<p>The next standard we&#8217;ll explore in our series on understanding WCAG 2.0 is <a href=\"https:\/\/www.w3.org\/TR\/UNDERSTANDING-WCAG20\/navigation-mechanisms-descriptive.html\">2.4.6, Multiple Ways<\/a>. This standard is required for WCAG level AA compliance, which is part of what Section 508 requires. Here&#8217;s the complete text:<\/p>\n<blockquote class=\"scquote\">\n<div>\n<p class=\"sctxt\"><strong class=\"sc-handle\">2.4.6 Headings and Labels:<\/strong> Headings and labels describe topic or purpose. (Level AA)<\/p>\n<\/div>\n<\/blockquote>\n<p>For a really short standard, there&#8217;s a lot to unpack.<\/p>\n<p>The first thing you might notice is this standard doesn&#8217;t explicitly require headings or labels. While <a href=\"https:\/\/www.w3.org\/TR\/UNDERSTANDING-WCAG20\/minimize-error-cues.html\">labels are definitely required<\/a>, there&#8217;s actually no specific requirement to have headings on your pages. If it&#8217;s appropriate to not have any headings, you are (from an accessibility standpoint) welcome to have nothing but paragraph after paragraph after paragraph.<\/p>\n<p>But situations where it&#8217;s appropriate to not have any headers are rare, and adding headers makes your document more navigable. For example, most PDF readers will automatically generate a clickable table of contents for you, as in this picture:<\/p>\n<p><a href=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.08.59-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1099\" src=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.08.59-PM-1024x773.png\" alt=\"Screenshot of a page and table of contents from a PDF\" height=\"441\" width=\"584\" srcset=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.08.59-PM-1024x773.png 1024w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.08.59-PM-300x227.png 300w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.08.59-PM-768x580.png 768w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.08.59-PM-397x300.png 397w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.08.59-PM.png 1504w\" sizes=\"auto, (max-width: 584px) 85vw, 584px\" \/><\/a>Screen readers can take advantage of headers in a similar way. Imagine if you were stuck listening to your computer reading you all 624 pages of that book sequentially. It&#8217;d be almost useless to you. Being able to jump to certain headers would help a lot.<\/p>\n<p>Standard 2.4.6 simply says that if you&#8217;re using headers, you need to use headers that describe the topic or the purpose of the subsequent section.<\/p>\n<p>But buried further down on that post, in a little green note, there&#8217;s a bit of text that says &#8220;<em>Note: <\/em> Headings and labels must be programmatically determined, per <a class=\"gl-ref\" href=\"http:\/\/www.w3.org\/TR\/2008\/REC-WCAG20-20081211\/#content-structure-separation-programmatic\">Success Criterion 1.3.1<\/a>&#8221;<\/p>\n<p>Programmatically determined is a tricky phrase. Just about anything is <a href=\"https:\/\/en.wikipedia.org\/wiki\/List_of_undecidable_problems\">programmatically determinable<\/a> &#8211; so that seems like a phrase ripe for abuse. Fortunately, WCAG 2.0 <a href=\"https:\/\/www.w3.org\/TR\/2008\/REC-WCAG20-20081211\/#programmaticallydetermineddef\">provides a definition<\/a>:<\/p>\n<blockquote><p>determined by software from author-supplied data provided in a way that different <a class=\"termref\" title=\"definition: user agent\" href=\"https:\/\/www.w3.org\/TR\/2008\/REC-WCAG20-20081211\/#useragentdef\">user agents<\/a>, including <a class=\"termref\" title=\"definition: assistive technology (as used in this document)\" href=\"https:\/\/www.w3.org\/TR\/2008\/REC-WCAG20-20081211\/#atdef\">assistive technologies<\/a>, can extract and present this information to users in different modalities<\/p><\/blockquote>\n<p>So if we do use headings, not only do that have to be programmatically determinable, they need to be programmatically determinable by the software that interprets that page.<\/p>\n<p>If that doesn&#8217;t make sense, it might be easier to look at some examples. The paragraph in the example comes courtesy of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Bracket#Parentheses\">wikipedia<\/a>, which has some surprisingly awesome writing.<\/p>\n<blockquote><p>Parentheses<\/p>\n<p>Parentheses may be nested (generally with one set (such as this) inside another set). This is not commonly used in formal writing (though sometimes other brackets [especially square brackets] will be used for one or more inner set of parentheses [in other words, secondary {or even tertiary} phrases can be found within the main parenthetical sentence]).<\/p><\/blockquote>\n<p>That example fails, because the heading above is a paragraph element &#8211; there&#8217;s no way to determine that it describes the subsequent content.<\/p>\n<blockquote><p><strong>Parentheses<\/strong><\/p>\n<p>Parentheses may be nested (generally with one set (such as this) inside another set). This is not commonly used in formal writing (though sometimes other brackets [especially square brackets] will be used for one or more inner set of parentheses [in other words, secondary {or even tertiary} phrases can be found within the main parenthetical sentence]).<\/p><\/blockquote>\n<p>This one looks ok, but isn&#8217;t. Boldface isn&#8217;t a heading standard, so most user agents wouldn&#8217;t consider it one.<\/p>\n<blockquote><p>#Parentheses<\/p>\n<p>Parentheses may be nested (generally with one set (such as this) inside another set). This is not commonly used in formal writing (though sometimes other brackets [especially square brackets] will be used for one or more inner set of parentheses [in other words, secondary {or even tertiary} phrases can be found within the main parenthetical sentence]).<\/p><\/blockquote>\n<p>This one is different, because rather than HTML it&#8217;s a format called markdown. <a href=\"https:\/\/daringfireball.net\/projects\/markdown\/\">Markdown<\/a> has very specific rules about formatting text, which make it easy to determine where a heading is. Remember: the WCAG guidelines apply to all documents.<\/p>\n<blockquote>\n<h1>Parentheses<\/h1>\n<p>Parentheses may be nested (generally with one set (such as this) inside another set). This is not commonly used in formal writing (though sometimes other brackets [especially square brackets] will be used for one or more inner set of parentheses [in other words, secondary {or even tertiary} phrases can be found within the main parenthetical sentence]).<\/p><\/blockquote>\n<p>That&#8217;s probably the best example here &#8211; we&#8217;re using the H1 tag for the heading. Not only does the browser apply some styles to make it obvious to most folks where the heading is, but we&#8217;re using <a href=\"https:\/\/en.wikipedia.org\/wiki\/Semantic_HTML\">semantic HTML<\/a> and adhering to a standard browsers can use to navigate pages.<\/p>\n<p>One last example:<\/p>\n<blockquote>\n<h1>The Marathon<\/h1>\n<p>Parentheses may be nested (generally with one set (such as this) inside another set). This is not commonly used in formal writing (though sometimes other brackets [especially square brackets] will be used for one or more inner set of parentheses [in other words, secondary {or even tertiary} phrases can be found within the main parenthetical sentence]).<\/p><\/blockquote>\n<p>This example uses a heading with the correct markup, but it doesn&#8217;t provide the topic in any way, so it fails this guideline.<\/p>\n<p>At Lane, to keep pages consistent, any page that will be interpreted by the browser as HTML should use semantic HTML, with headings and other elements used correctly. Documents that aren&#8217;t HTML are a little trickier. In Microsoft Word, for instance, many people use font sizes and bold face to create headings. That&#8217;s really not ok &#8211; you should be using the headers tools.<\/p>\n<p><a href=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.28.55-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1101\" src=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.28.55-PM-1024x476.png\" alt=\"Example of using the heading tools in Microsoft Word\" height=\"271\" width=\"584\" srcset=\"https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.28.55-PM-1024x476.png 1024w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.28.55-PM-300x139.png 300w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.28.55-PM-768x357.png 768w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.28.55-PM-500x232.png 500w, https:\/\/blogs.lanecc.edu\/webteam\/wp-content\/uploads\/sites\/25\/2017\/01\/Screen-Shot-2017-01-17-at-2.28.55-PM.png 1274w\" sizes=\"auto, (max-width: 584px) 85vw, 584px\" \/><\/a>If you&#8217;d like to read more about the headers and labels guideline, you may also be interested in <a href=\"https:\/\/www.w3.org\/TR\/UNDERSTANDING-WCAG20\/navigation-mechanisms-descriptive.html#navigation-mechanisms-descriptive-techniques-head\">these techniques<\/a>, which provides examples and more detail.<\/p>\n<p>Interested in more? Check out the listing of <a href=\"http:\/\/blogs.lanecc.edu\/webteam\/2016\/10\/11\/updated-accessibility-requirements\/\">all the posts in this series<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The next standard we&#8217;ll explore in our series on understanding WCAG 2.0 is 2.4.6, Multiple Ways. This standard is required for WCAG level AA compliance, which is part of what Section 508 requires. Here&#8217;s the complete text: 2.4.6 Headings and Labels: Headings and labels describe topic or purpose. (Level AA) For a really short standard, &hellip; <a href=\"https:\/\/blogs.lanecc.edu\/webteam\/2017\/01\/17\/understanding-wcag-2-0-2-4-6-heading-and-labels\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Understanding WCAG 2.0: 2.4.6 &#8211; Heading and Labels&#8221;<\/span><\/a><\/p>\n","protected":false},"author":86,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":"","_wpscppro_dont_share_socialmedia":false,"_wpscppro_custom_social_share_image":0,"_facebook_share_type":"","_twitter_share_type":"","_linkedin_share_type":"","_pinterest_share_type":"","_linkedin_share_type_page":"","_instagram_share_type":"","_medium_share_type":"","_threads_share_type":"","_google_business_share_type":"","_selected_social_profile":[],"_wpsp_enable_custom_social_template":false,"_wpsp_social_scheduling":{"enabled":false,"datetime":null,"platforms":[],"status":"template_only","dateOption":"today","timeOption":"now","customDays":"","customHours":"","customDate":"","customTime":"","schedulingType":"absolute"},"_wpsp_active_default_template":true},"categories":[31],"tags":[6],"class_list":["post-1062","post","type-post","status-publish","format-standard","hentry","category-wcag-20","tag-accessibility"],"_links":{"self":[{"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/posts\/1062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/users\/86"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/comments?post=1062"}],"version-history":[{"count":6,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/posts\/1062\/revisions"}],"predecessor-version":[{"id":1307,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/posts\/1062\/revisions\/1307"}],"wp:attachment":[{"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/media?parent=1062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/categories?post=1062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lanecc.edu\/webteam\/wp-json\/wp\/v2\/tags?post=1062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}