[whatwg] I dont like "successful"

On Thu, 9 Dec 2004, [ISO-8859-1] Olav Junker Kj?r wrote:

> Ian Hickson wrote:
> > I'd love to find a better name. The attribute is needed for ATs and 
> > form.validate() (to enable sane extensions in future).
> 
> I dont think "successful" is required for AT's. What is required, is 
> that the AT can report to the user if a field is invalid and requires 
> attention before the form can be submitted. It should use the validity 
> property for this.

It needs two things -- whether the control is going to be checked, and 
whether it is valid. You can have invalid controls that won't stop 
submission (e.g. because they are disabled).


> As for extensions, the form should be able to query some 
> not-invented-yet control whether the control:
> 
> 1) supports validation
> 2) is currently valid
> 3) what value(s) should be submitted (if any)

Yeah. That's for Web Controls.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 9 December 2004 14:39:27 UTC