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

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

From: Michel Fortin <michel.fortin@michelf.com>
Date: Thu, 1 Jun 2006 11:58:05 -0400
Message-ID: <59AD9D81-E7FA-4341-B4EA-60540DF0F010@michelf.com>
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  

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

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
Received on Thursday, 1 June 2006 08:58:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:27 UTC