Brian Hayashi
suggested this on February 16, 2011 02:56 pm
Make it easier for users by presenting content-appropriate keyboards on portable devices using the HTML5 attributes.
Right now the forms default to type = TEXT. If the form field is a telephone, the form type should be TEL, not TEXT. If the form field is an email address, the form type should be EMAIL.
Text: <input type="text" />
Telephone: <input type="tel" />
URL: <input type="url" />
Email: <input type="email" />
Zip Code: <input type="text" pattern="[0-9]*" />