W3C home > Mailing lists > Public > public-html@w3.org > July 2011

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 07 Jul 2011 15:47:27 +0000
To: public-html@w3.org
Message-ID: <bug-13173-2495@http.www.w3.org/Bugs/Public/>
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 on the CC list for the bug.
Received on Thursday, 7 July 2011 15:47:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:36 GMT