{"id":1504,"date":"2013-01-16T12:36:42","date_gmt":"2013-01-16T17:36:42","guid":{"rendered":"http:\/\/www.equipmentlink.org\/blog\/?p=1504"},"modified":"2013-01-16T12:36:42","modified_gmt":"2013-01-16T17:36:42","slug":"web-tip-html-structural-elements-11613","status":"publish","type":"post","link":"http:\/\/www.equipmentlink.org\/blog\/?p=1504","title":{"rendered":"Web Tip, HTML Structural Elements, 1\/16\/13"},"content":{"rendered":"<h2>HTML5 Structural Elements and ARIA<\/h2>\n<p>HTML5 introduces several new structural elements that will be very beneficial for accessibility:<\/p>\n<p><code>&lt;nav&gt;<\/code> (for identifying navigational elements),<\/p>\n<p><code>&lt;header&gt;<\/code> (a group of introductory or navigational aids),<\/p>\n<p><code>&lt;article&gt;<\/code> <code>&lt;aside&gt;<\/code> (tangentially related content, such as a sidebar), and <code><\/code><\/p>\n<p><code>&lt;footer&gt;<\/code> provide meaning to major page structural areas.<\/p>\n<p>These can also be used to enhance keyboard navigation (a user could press the &#8220;N&#8221; key to jump to the page navigation, for example). Many HTML5 structural elements mirror or map to ARIA landmark roles:<\/p>\n<p><code>&lt;article&gt;<\/code> \u2014 <code>role=\"article\"<\/code><\/p>\n<p><code>&lt;footer&gt;<\/code> \u2014 <code>role=\"contentinfo\"<\/code> (only one per page)<\/p>\n<p><code>&lt;header&gt;<\/code> \u2014 <code>role=\"banner\"<\/code><\/p>\n<p><code>&lt;nav&gt;<\/code> \u2014 <code>role=\"navigation\"<\/code><\/p>\n<p><code>&lt;aside&gt;<\/code> \u2014 <code>role=\"complementary\"<\/code><\/p>\n<p>If transitioning to HTML5, you will want to use both the HTML5 native element and the ARIA role (e.g., <code>&lt;nav role=\"navigation\"&gt;<\/code>) until assistive technology support for HTML5 improves. Of note is that ARIA provides very useful <code>role=\"search\"<\/code> and <code>role=\"main\"<\/code> that do not have HTML5 counterparts. The accessibility of nearly all web pages would be increased if these roles are implemented.<\/p>\n<div class=\"al2fb_like_button\"><div id=\"fb-root\"><\/div><script type=\"text\/javascript\">\n(function(d, s, id) {\n  var js, fjs = d.getElementsByTagName(s)[0];\n  if (d.getElementById(id)) return;\n  js = d.createElement(s); js.id = id;\n  js.src = \"\/\/connect.facebook.net\/en_US\/all.js#xfbml=1&appId=149587675112835\";\n  fjs.parentNode.insertBefore(js, fjs);\n}(document, \"script\", \"facebook-jssdk\"));\n<\/script>\n<fb:like href=\"http:\/\/www.equipmentlink.org\/blog\/?p=1504\" layout=\"standard\" show_faces=\"true\" share=\"false\" width=\"450\" action=\"like\" font=\"arial\" colorscheme=\"light\" ref=\"AL2FB\"><\/fb:like><\/div>","protected":false},"excerpt":{"rendered":"<p>HTML5 Structural Elements and ARIA HTML5 introduces several new structural elements that will be very beneficial for accessibility: &lt;nav&gt; (for identifying navigational elements), &lt;header&gt; (a group of introductory or navigational aids), &lt;article&gt; &lt;aside&gt; (tangentially related content, such as a sidebar), and &lt;footer&gt; provide meaning to major page structural areas. These can also be used to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","ngg_post_thumbnail":0,"footnotes":""},"categories":[14,29,35],"tags":[],"_links":{"self":[{"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1504"}],"collection":[{"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1504"}],"version-history":[{"count":9,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1504\/revisions"}],"predecessor-version":[{"id":1513,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1504\/revisions\/1513"}],"wp:attachment":[{"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1504"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}