[whatwg] <input type="text" accept="">

Le 1 juin 2006 ? 10:01, Mikko Rantalainen a ?crit :

> That would be a nice example. Make sure that you mention that spell  
> checker should be enabled only if spell checker supports the  
> language the content is supposed to be written with. If UA only  
> supports spell checking for English and you have
> <input accept="text/plain" lang="fi" />
> then the spell checker should be disabled.

Your idea and example are fine, but it should also be clear that the  
spell checker should not assume this to be an input for English text  
only:

     <label lang="en">
       Name: <input accept="text/plain">
     </label>

Very often the interface of a web application isn't available in all  
languages. but that shouldn't preclude people from writing text in  
other languages in the form. So if Mikko's idea is mentioned in the  
spec it should be made clear that the input language expectation  
isn't inherited from ancestor elements.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/

Received on Thursday, 1 June 2006 08:58:05 UTC