Title: Validation error in the default comments.php..
Last modified: August 19, 2016

---

# Validation error in the default comments.php..

 *  [working-together](https://wordpress.org/support/users/working-together/)
 * (@working-together)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/validation-error-in-the-default-commentsphp/)
 * 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)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/validation-error-in-the-default-commentsphp/#post-1416635)
 * 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.

 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/validation-error-in-the-default-commentsphp/#post-1416635)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
