7

Using type="url" instead of type="text" would make life a lot easier when logging in via iPhones and Android Phones (mobile Safari, in general).

Other browsers ignore it and pretend it's type="text", so no harm done.

See http://diveintohtml5.org/forms.html#type-url for examples.

2

ok, I added type="url" to the <input> field on the login page.

edit: Backing this change out. Causing lots of spurious bug reports from new-ish browsers that enforce URLs rigidly to "must start with http://" rather than using it as an input aid.

| improve this answer | |
  • 1
    From the source: "There is no markup required to activate HTML5 form validation; it is on by default. To turn it off, use the novalidate attribute." Can we have it back now? – Soumya Jul 16 '11 at 23:54
  • @soumya nice! that will definitely help! – Jeff Atwood Jul 17 '11 at 3:20
0

OpenID identifier can be not only URL, look at XRI. Currently, it's impossible to enter such IDs in Google Chrome 5.0. It's exotic, yes...

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .