{"id":3047,"date":"2015-07-08T08:36:46","date_gmt":"2015-07-08T12:36:46","guid":{"rendered":"http:\/\/www.equipmentlink.org\/blog\/?p=3047"},"modified":"2015-07-08T08:36:46","modified_gmt":"2015-07-08T12:36:46","slug":"html5-input-types-web-tip-52-7815","status":"publish","type":"post","link":"http:\/\/www.equipmentlink.org\/blog\/?p=3047","title":{"rendered":"HTML5 Input Types, Web Tip #52, 7\/8\/15"},"content":{"rendered":"<p><strong>HTML5 Input Types<\/strong><\/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 &lt;input type=&#8221;number&#8221;&gt; might present a numbers-only keyboard, require only numbers be inserted, or alert the user if something other than a number is inserted. An &lt;input type=&#8221;date&#8221;&gt; 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=3047\" 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":[3,14,29,35],"tags":[],"_links":{"self":[{"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3047"}],"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=3047"}],"version-history":[{"count":1,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3047\/revisions"}],"predecessor-version":[{"id":3048,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3047\/revisions\/3048"}],"wp:attachment":[{"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3047"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.equipmentlink.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}