[wp-testers] 2.6.3 + Strict Doc Type + "aria-required='true' = failed validation

Idled Soul idledsoul at gmail.com
Mon Nov 17 21:31:03 GMT 2008


Is there any work around for this? Using that element in Strict Doc type 
fails validation, it's the only thing keeping the theme from passing...

<input type="text" name="email" id="email" value="<?php echo 
$comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo 
"aria-required='true'"; ?> />

<?php if ($req) echo "aria-required='true'"; ?>

Is there another line of code to use so it passes or whatever? Or do 
"we" just use the old original method like such:

<input type="text" class="textbox" name="author" id="author" 
value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
<label for="author"><small>Name <?php if ($req) _e('(required)'); 
?></small></label>

Thanks..



More information about the wp-testers mailing list