[prev in list] [next in list] [prev in thread] [next in thread]
List: whatwg
Subject: Re: [whatwg] Errormessages in forms
From: Ian Hickson <ian () hixie ! ch>
Date: 2009-06-26 5:17:17
Message-ID: Pine.LNX.4.62.0906260149060.1648 () hixie ! dreamhostps ! com
[Download RAW message or body]
On Tue, 2 Dec 2008, Oldřich Vetešník wrote:
> Dne Tue, 02 Dec 2008 11:31:07 +0100 Ian Hickson <ian@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.
I think it would be reasonable to have examples, yes.
I've added one for <label> similar to the above. Do you have any other
areas where you would like particular examples?
Note that Lachy is working on a whole authoring guide for HTML5 which will
probably cover things like this in more detail also.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic