comment_form() Leave a Reply heading level can't be changed
|Reported by:||afercia||Owned by:||afercia|
When using comment_form() to output the complete comment form, the "Leave a Reply" heading is assumed to be a <h3> and there's no way to change the heading level. See the screenshot below, it's the heading structure in Twenty Sixteen.
- when there are comments: the headings hierarchy doesn't miss levels but I'd say the <h3> should be a <h2> anyways
- when there are no comments yet, there's a missing heading level
Assuming a <h3> will be always a correct heading level it's just... well an assumption. IMHO, functions that output HTML should always give the ability to filter the output or set the relevant part of the HTML using arguments.
Change History (9)
- Milestone changed from Awaiting Review to 4.4
- Owner set to afercia
- Status changed from new to assigned