[whatwg] Input and spell check/keyboard settings

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