W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2006

[whatwg] [WF2] validating things the user can't change..

From: Hallvord R M Steen <hallvors@gmail.com>
Date: Thu, 6 Jul 2006 16:22:46 +0200
Message-ID: <dd4c8a40607060722l5c538f90jcaf8825562a3be38@mail.gmail.com>
Another couple of comments regarding validation:

* willValidate IMO should not be true for readonly elements. The user
can't change them anyway, so what's the point of reporting validation
errors to the user?

* same with INPUT type="hidden" (is it excluded already?)

Suggestion: after the line
   <li>The control is not <span><a href="#disabled">disabled</a></span>.
add the following:


   <li>The control is not <span><a href="#readonly">readonly</a></span>.
   <li>The control's type attribute is not hidden.


-- 
Hallvord R. M. Steen
Received on Thursday, 6 July 2006 07:22:46 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:47 UTC