W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

[whatwg] Search-suggestions without scripting

From: Aryeh Gregor <ayg@aryeh.name>
Date: Wed, 17 Aug 2011 18:15:45 -0400
Message-ID: <CAKA+Axk2zJHO5w5fwXbAwfkKuOiGXKVVmgM47u_2SEB1W6S=PQ@mail.gmail.com>
On Wed, Aug 17, 2011 at 4:12 AM, Alexandre Morgaut
<Alexandre.Morgaut at 4d.com> wrote:
> I like the idea of a declarative way to support autosuggestions
> OpenSearch already made a successful specification supported by most browsers
> http://www.opensearch.org/Specifications/OpenSearch/1.1

That's an interesting point.  There's no reason that autosuggest for
browser URL bars and search inputs has to be any different.  Given
that all the infrastructure here is already present, a new attribute
like suggestions="http://path/to/opensearch" would be all that's
needed.  It would be relatively easy for browsers to implement, and
trivial for webpages to use if they're already using OpenSearch.  I
don't think this has to be related to <datalist> -- just have a new
attribute on <input>.
Received on Wednesday, 17 August 2011 15:15:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC