{"id":1433,"date":"2012-12-12T09:32:50","date_gmt":"2012-12-12T14:32:50","guid":{"rendered":"http:\/\/www.equipmentlink.org\/blog\/?p=1433"},"modified":"2012-12-12T09:33:04","modified_gmt":"2012-12-12T14:33:04","slug":"aria-roled-and-native-semantics-121212","status":"publish","type":"post","link":"https:\/\/www.equipmentlink.org\/blog\/?p=1433","title":{"rendered":"ARIA Roles and Native Semantics, 12\/12\/12"},"content":{"rendered":"<h2>ARIA Roles and Native Semantics<\/h2>\n<p>ARIA roles enhance or change the semantics and meaning of page elements. Whenever possible, the proper native HTML elements should be used. For example, while\u00a0role=&#8221;button&#8221; could be added to a scripted link that is used to submit a form, a native button element would provide this same functionality in less markup and without relying on ARIA.<\/p>\n<p>Additionally, an ARIA role should not be used if it is the same as the default role of the element. For example, role= \u201cbutton\u201d on a &lt;button&gt; element, role=\u201cgrid\u201d on a table or role=\u201ccheckbox\u201d on a &lt;input type=\u201ccheckbox\u201d&gt; would be redundant and unnecessary.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/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=\"https:\/\/www.equipmentlink.org\/blog\/?p=1433\" 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>ARIA Roles and Native Semantics ARIA roles enhance or change the semantics and meaning of page elements. Whenever possible, the proper native HTML elements should be used. For example, while\u00a0role=&#8221;button&#8221; could be added to a scripted link that is used to submit a form, a native button element would provide this same functionality in less [&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":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1433"}],"collection":[{"href":"https:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1433"}],"version-history":[{"count":6,"href":"https:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1433\/revisions"}],"predecessor-version":[{"id":1439,"href":"https:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1433\/revisions\/1439"}],"wp:attachment":[{"href":"https:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}