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

Michel Fortin michel.fortin at michelf.com
Thu Jun 1 08:58:05 PDT 2006


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/





More information about the whatwg mailing list