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

[whatwg] Input and spell check/keyboard settings

From: Jonny Rein Eriksen <jonnyr@opera.com>
Date: Thu, 18 Jun 2015 09:58:56 +0200
Message-ID: <55827A40.2020506@opera.com>
To: whatwg@whatwg.org
The problem:

When writing messages on Facebook, in web-mail, in discussion forums and 
so on, we often end up switching languages for the spell-checker in the 
desktop browser and on phones we switch which keyboard we use. Typically 
I will write in English in messages to my English friends and Norwegian 
to my Norwegian friends. But since spell-check and keyboard are always 
global settings in browsers we end up having to switch keyboard and 
spell-checker whenever we switch between who we are writing messages to. 
Of course this is only a problem if you communicate in multiple languages.

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. The idea being that this context attribute would 
be connected to each entity you were communicating with. In general I 
would have a default spell-checker/keyboard. Since I set it to English 
last time I talked to an English friend on Facebook and if Facebook 
supported this context ID the browser would remember this and 
auto-switch to English next time I started writing a message to him.

We would need to define an attribute for the input field so that web 
sites could supply such a context ID. Looking at Textarea there are 
related settings: Id, Spell check and input mode are the most obvious, 
but nothing I can find that would solve this issue, IE. a context ID 
that could be set per user, or group of users you are writing to. Or did 
I miss something?

My question then: Is this interesting for this group?

Jonny Rein Eriksen
Opera Software
Received on Thursday, 18 June 2015 07:59:25 UTC

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