{"id":1617,"date":"2013-02-20T09:08:48","date_gmt":"2013-02-20T14:08:48","guid":{"rendered":"http:\/\/www.equipmentlink.org\/blog\/?p=1617"},"modified":"2013-02-20T09:09:17","modified_gmt":"2013-02-20T14:09:17","slug":"html-5-input-types","status":"publish","type":"post","link":"http:\/\/www.equipmentlink.org\/blog\/?p=1617","title":{"rendered":"HTML 5 Input Types, 2\/20\/13"},"content":{"rendered":"<p><b>HTML5 Input Types<\/b><\/p>\n<p>HTML5 introduces several <a href=\"http:\/\/webaim.org\/blog\/future-web-accessibility-new-input-types-in-html5\/\">new form field types<\/a> &#8211; search, tel (for telephone numbers), url, email, datetime, date, month, week, time, datetime-local, number, range, and color. While browser support currently varies (if they are not supported, browsers simply present a text input), it is getting better. These new input types will greatly facilitate usability and better accessibility. For example, an <b>&lt;input type=&#8221;number\u201d&gt;<\/b> might present a numbers-only keyboard, require only numbers be inserted, or alert the user if something other than a number is inserted. An <b>&lt;input type=&#8221;date\u201d&gt;<\/b> might present a date picker to support easier insertion of a date. Because the date picker would be browser-provided (and presumably accessible), authors would not need to provide a date picker, something that currently requires scripting and effort to make accessible.<\/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=1617\" 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 Input Types HTML5 introduces several new form field types &#8211; search, tel (for telephone numbers), url, email, datetime, date, month, week, time, datetime-local, number, range, and color. While browser support currently varies (if they are not supported, browsers simply present a text input), it is getting better. These new input types will greatly facilitate [&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\/1617"}],"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=1617"}],"version-history":[{"count":3,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1617\/revisions"}],"predecessor-version":[{"id":1620,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1617\/revisions\/1620"}],"wp:attachment":[{"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1617"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}