• I am using the comments.php template for my blog. Generally, I like the look and does what I need.

    However, I do get the one validation error of “there is no attribute “aria-required”

    I read that the W3C validator doesn’t take into account the “Aria” attribute (or what have you). So, it’s not really an error. Is this correct?

    Is there a way to tweak it so it does validate? It would make me get all warm and fuzzy inside if I could as it is my only error on my pages.

    Thanks.

Viewing 1 replies (of 1 total)
  • Don’t worry about it. It’s not a significant error. If you want your pages to validate, just remove:

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

    from the Name and email inputs in comments.php.

    It’s a known issue. I file a bug report and try to get it removed (or get the default theme to use an HTML5 DOCTYPE) but couldn’t get the core team to agree. So we’re stuck with it for the time being.

Viewing 1 replies (of 1 total)

The topic ‘Validation error in the default comments.php..’ is closed to new replies.