[wp-trac] [WordPress Trac] #45673: Twenty Nineteen: Front page entry-title should be h1, not h2

WordPress Trac noreply at wordpress.org
Mon Dec 17 11:42:00 UTC 2018


#45673: Twenty Nineteen: Front page entry-title should be h1, not h2
---------------------------+------------------------------
 Reporter:  perandre       |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.0.1
 Severity:  minor          |  Resolution:
 Keywords:                 |     Focuses:  accessibility
---------------------------+------------------------------

Comment (by perandre):

 > Are you displaying your latest posts on the front page

 Latest posts.

 HTML5 allows for a new h1-h6 hierarchy inside each article or section.
 While h2 is also allowed, h1 is the better choice, since two h2s after
 each other would signal that the entry-title is the same level as inline
 h2s in the content body.

 More background: https://stackoverflow.com/questions/7405282/how-to-
 properly-use-h1-in-html5

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


More information about the wp-trac mailing list