When I test for validation, I generally use a simpler page and not the full generated content created by the index.php template file.<br><br>Especially given the known issues of [gallery] and other embedded objects, I will test the "About" page for validity in most cases.<br>
<br>The CSS validator will usually just read the stylesheet and not the content, and (X)HTML will for the most part be similar enough on a page of text as any other view to see if it will validate.<br><br>Not accepting a theme because the test data will not validate just doesn't add up to me, so to be quite honest I rarely test for full vaildation.<br>
<br><br>Cais.<br><br><div class="gmail_quote">On Sat, Jul 3, 2010 at 7:23 PM, Simon Prosser <span dir="ltr"><<a href="mailto:pross@pross.org.uk">pross@pross.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On 04/07/2010 00:04, Chip Bennett wrote:<br>
> Good evening, Theme Reviewers!<br>
><br>
> I'm back with more... this time, looking at W3C validation of the unit test<br>
> data. I'm sure this information isn't new to some/most/all of you, but: the<br>
> WordPress [gallery] shortcode and video embeds do not validate, nor does the<br>
> default markup generated by comment_form().<br>
><br>
> The [gallery] shortcode adds <style> inside <body> instead of inside <head> (I<br>
> understand the reason why; nevertheless, it still results in invalid markup).<br>
><br>
> The embeds add undefined attributes.<br>
><br>
> comment_form() adds aria-required attributes (draft attributes; not yet<br>
> standard) to required form fields.<br>
><br>
> Are these validation errors anything to be concerned about with respect to<br>
> theme review? Or, should we just expect them beforehand, and check for any<br>
> other errors?<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> theme-reviewers mailing list<br>
<div class="im">> <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
</div><div class="im">> <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div>Evening Chip!<br>
<br>
'aria' validates if using html5.<br>
<br>
[gallery] tag like you say will never validate, there are a couple of<br>
tickets in trac with suggested workarounds, hopefully they will be<br>
adopted before long.<br>
<br>
I reworked the tag in my theme along with the youtube/googlevideo<br>
shortags and now it all validates :) I may release the code as a 'this<br>
will fix wordpress' kind of plugin.<br>
<br>
i always validate one of the pages that does not contain the gallery and<br>
ignore the two 'aria' errors.<br>
<div class="im"><br>
<br>
--<br>
MyBlog : <a href="http://www.pross.org.uk/" target="_blank">http://www.pross.org.uk/</a><br>
Plugins : <a href="http://www.pross.org.uk/plugins/" target="_blank">http://www.pross.org.uk/plugins/</a><br>
Themes: <a href="http://wordpress.org/extend/themes/profile/pross" target="_blank">http://wordpress.org/extend/themes/profile/pross</a><br>
_______________________________________________<br>
theme-reviewers mailing list<br>
</div><div class="im"><a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
</div><div><div></div><div class="h5"><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div></div></blockquote></div><br>