[whatwg] Form element invalid message

Shiv Kumar skumar at exposureroom.com
Wed Sep 22 08:14:04 PDT 2010


In principle sure, But you already have attributes being used to present
text to users.
1. All the "value" attributes of say input elements, text area etc.

This suggestion has been made so as to make this feature a quite a bit more
useable then it is. It's not the end all be all solution for validations but
it does also keep continue the paradigm.


-----Original Message-----
From: Benjamin Hawkes-Lewis [mailto:bhawkeslewis at googlemail.com] 
Sent: Wednesday, September 22, 2010 3:00 AM
To: Shiv Kumar
Subject: Re: [whatwg] Form element invalid message

On 20 Sep 2010, at 23:38, Shiv Kumar wrote:
> For the first scenario I'd like to propose that we have a
validationMessage attribute

Attributes should be avoided for text to be presented to human beings,
because such text may need to be marked up, e.g. for changes in language
("span lang"), for emphasis ("strong"), to differentiate keyboard input
("kbd"), etc.

Benjamin Hawkes-Lewis

More information about the whatwg mailing list