{"id":2353,"date":"2014-04-02T09:21:33","date_gmt":"2014-04-02T13:21:33","guid":{"rendered":"http:\/\/www.equipmentlink.org\/blog\/?p=2353"},"modified":"2014-04-02T09:22:46","modified_gmt":"2014-04-02T13:22:46","slug":"aria-labeledby-web-tip-48-4214","status":"publish","type":"post","link":"http:\/\/www.equipmentlink.org\/blog\/?p=2353","title":{"rendered":"Aria-labelledby, Web Tip #48, 4\/2\/14"},"content":{"rendered":"<h2>aria-labelledby<\/h2>\n<p><b>Difficulty:<\/b> Advanced<\/p>\n<p><b>Category:<\/b><\/p>\n<ul>\n<li>Structure<\/li>\n<\/ul>\n<p>Traditional form labeling with the &lt;label&gt; has distinct limitations; you can only have one label for each form element. You cannot have one label for multiple form elements (consider &#8220;Telephone Number&#8221; as a label for 3 text boxes to comprise a complete telephone number). You also cannot have multiple labels for one form element (consider a text box that has a label preceding it and the word &#8220;required&#8221; immediately after it, both of which provide important information). The aria-labelledby attribute (part of the <a href=\"http:\/\/webaim.org\/techniques\/aria\/\">ARIA<\/a> specification) overcomes these limitations by allowing any element to be labeled by any other page element.<\/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=2353\" 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-labelledby Difficulty: Advanced Category: Structure Traditional form labeling with the &lt;label&gt; has distinct limitations; you can only have one label for each form element. You cannot have one label for multiple form elements (consider &#8220;Telephone Number&#8221; as a label for 3 text boxes to comprise a complete telephone number). You also cannot have multiple labels [&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":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2353"}],"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=2353"}],"version-history":[{"count":2,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2353\/revisions"}],"predecessor-version":[{"id":2359,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2353\/revisions\/2359"}],"wp:attachment":[{"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2353"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}