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

Otto otto at ottodestruct.com
Mon Nov 17 22:42:23 GMT 2008


You need to change your doctype, I expect:

http://www.w3.org/TR/2007/WD-aria-state-20071019/#module_element_xhtml



On Mon, Nov 17, 2008 at 3:31 PM, Idled Soul <idledsoul at gmail.com> wrote:

> 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..
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list