[whatwg] Form element invalid message

Benjamin,

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.

Shiv
http://exposureroom.com

-----Original Message-----
From: Benjamin Hawkes-Lewis [mailto:bhawkeslewis@googlemail.com] 
Sent: Wednesday, September 22, 2010 3:00 AM
To: Shiv Kumar
Cc: 'WHATWG'
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

Received on Wednesday, 22 September 2010 08:14:04 UTC