W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] Errormessages in forms

From: Oldřich Vetešník <vetesnik@mrmil.cz>
Date: Tue, 02 Dec 2008 12:18:53 +0100
Message-ID: <op.uli8drnao84pey@pc08.ebrana.cz>
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
Received on Tuesday, 2 December 2008 03:18:53 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:08 UTC