[whatwg] Errormessages in forms

Oldřich Vetešník vetesnik at mrmil.cz
Tue Dec 2 03:18:53 PST 2008


Dne Tue, 02 Dec 2008 11:31:07 +0100 Ian Hickson <ian at hixie.ch> napsal/-a:

> Well, in the snippet above, the following seems adequate:
>   <label> Instructions <input name=idfield>
>            Type in dd-mm-yyy format</label>
> ...and the custom error message should be set from script, using
> addCustomValidity(). How is that not accessible? It seems fine to me. The
> AT can read the whole label when entering the field, and the error  
> message handling is done by the UA.

Alright, I agree, I don't have a problem with it. But is it possible to  
create a detailed documentation for this, including "How do I code it  
right?," with wrong good and examples? In my opinion, if there was a good,  
clear and understandable (for human regular beings that is) documentantion  
which developers could refer to, and if it succeeded in getting known  
widely, it could improve the overall knowledge and accessibility. It  
reminds of the longdesc attribute - it's useful but nobody really knows  
how to make it right.

- Ollie



More information about the whatwg mailing list