W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2015

Re: [whatwg] Input and spell check/keyboard settings

From: <chaals@yandex-team.ru>
Date: Thu, 18 Jun 2015 10:58:08 +0200
To: "whatwg@whatwg.org" <whatwg@whatwg.org>
Message-Id: <57721434617888@webcorp02g.yandex-team.ru>
- jonnyr@

18.06.2015, 09:59, "Jonny Rein Eriksen" <jonnyr@opera.com>:

> A possible solution:
> If we had support for setting a standardized context attribute on the
> input element, the browser could keep a small database with configured
> settings per context.

There is an attribute called "lang" that probably has what you want, if you set up the spellcheck etc to read it.

The HTML code in a web page doesn't know what the context is, until you script up something to make that happen. At which point, you may as well change the lang attribute as anything else.

Note that some systems auto-detect language being entered - for example both yandex.translate and MacOS do this for me, and I suspect that the future tends that way rather than trying to guess whether I should write to you in english or norwegian…

har det bra


Charles McCathie Nevile - web standards - CTO Office, Yandex
chaals@yandex-team.ru - - - Find more at http://yandex.com
Received on Thursday, 18 June 2015 08:58:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:33 UTC