[wp-trac] [WordPress Trac] #39044: HTML5 Comments create an `article` element without headings, generating validation errors. (was: W3C Validator warning: Article lacks heading. Consider using h2-h6 elements to add identifying headings to all articles)

WordPress Trac noreply at wordpress.org
Tue Apr 8 16:00:46 UTC 2025


#39044: HTML5 Comments create an `article` element without headings, generating
validation errors.
--------------------------+-----------------------------
 Reporter:  henry.wright  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Comments      |     Version:  4.6.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  accessibility
--------------------------+-----------------------------
Changes (by joedolson):

 * component:  General => Comments


Old description:

> File: wp-includes/class-walker-comment.php
>
> Screenshot incoming.

New description:

 Previous title: "W3C Validator warning: Article lacks heading. Consider
 using h2-h6 elements to add identifying headings to all articles "

 File: wp-includes/class-walker-comment.php

 Screenshot incoming.

--

Comment:

 Updating the ticket title for clarity and moving into the Comments
 component.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39044#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list