Feature request: validation by snippet

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

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