W3C home > Mailing lists > Public > www-validator@w3.org > March 2007

Feature request: validation by snippet

From: Stephanie Troeth <steph@unadorned.org>
Date: Wed, 21 Mar 2007 16:05:28 -0400
Message-ID: <46019008.2000902@unadorned.org>
To: www-validator@w3.org
Hello folks,

I'm Steph, and I am one of the members of the Web Standards Project[1].

Recently we have begun activity with intention of working with CMS 
vendors (especially in context of educational software) to produce valid 
and accessible markup, and we are also discussing on how to remove 
barriers for them to get there.

Working with some folks familiar with CMS issues, the point was raised 
that it would make it easier on developers to continually check if they 
are creating valid markup if validators allow validation by snippet 
rather than a full document. As a developer myself, I know my own team 
and I would find this very useful.

I've been looking at the development version of the Markup Validator 
specifically the "by direct input" option [2], and it seems that what it 
does is already pretty close.

Perhaps what is required for validation of snippets, is to automatically 
wrap the contents of the input with a Doctype (that the user chooses), 
dummy head content, <html> and <body> wrapper tags for this option?

I'm including a wireframe of a possible layout to facilitate this. I'm 
not convinced it's the best layout, but it's probably a workable one.

Just one more small comment on the dev version: just by sight, the blue 
link text on blue background and the white/blue combination of the 
selected "tab" for each validation type may not pass contrast tests for 
accessibility - but I'm sure you are already aware of this.

I can't donate coding time for the moment, but if this feature is 
implemented, I'm sure I can round up some testing effort.

Keep up the wonderful work!

best regards,
-steph

[1] http://www.webstandards.org/
[2] http://qa-dev.w3.org/wmvs/HEAD/#validate-by-input



snippet_validator.png
(image/png attachment: snippet_validator.png)

Received on Thursday, 22 March 2007 02:13:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:24 GMT