[Bug 13173] New: <input type="url"> should accept URLs with protocol omitted

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13173

           Summary: <input type="url"> should accept URLs with protocol
                    omitted
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mtanalin@yandex.ru
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


<input type="url"> should accept URLs with protocol omitted

http://dev.w3.org/html5/spec/states-of-the-type-attribute.html#url-state

Often, users on websites are allowed to input URL with no protocol. E.g.,
"example.com" instead of full "http://example.com". ("http://" protocol is
assumed in such cases.)

This is important for improving usability.

Even browsers tend to not display protocol in location bar due to its
redundancy.

Currently, <input type="url"> forces user to always input protocol explicitly,
thus usability of such form fields is low.

So, it makes sense to allow entering URL without protocol in <input
type="url">. Otherwise, this input type will be just ignored by web-developers
in real practice, and regular <input type="text"> will be used instead. For
example, I personally am using <input type="email"> in my blog, but not <input
type="url"> -- exactly for this reason.

(It's unlikely that <input type="url"> is invented to be ignored.)

Thanks.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 7 July 2011 15:47:33 UTC