[wp-meta] [Making WordPress.org] #4121: Proposal to change the headings hierarchy in the Blog section

Making WordPress.org noreply at wordpress.org
Tue Apr 14 05:52:27 UTC 2020


#4121: Proposal to change the headings hierarchy in the Blog section
--------------------------------+---------------------
 Reporter:  afercia             |       Owner:  (none)
     Type:  defect              |      Status:  new
 Priority:  normal              |   Milestone:
Component:  WordPress.org Site  |  Resolution:
 Keywords:  headings-hierarchy  |
--------------------------------+---------------------

Comment (by dufresnesteven):

 >each post title shouldn't be a h2: given the current headings structure
 (see screenshot above), it's impossible to understand which h2 are post
 titles and which ones come from the post content

 What about using this structure found on w3c.org
 (https://www.w3.org/TR/2011/WD-html5-author-20110809/the-article-
 element.html)? We could wrap each post in an `<article>` tag with its own
 `<h1>`.

 **Pull from w3c article:**
 {{{
 <article>
  <header>
   <h1>The Very First Rule of Life</h1>
   <p><time pubdate datetime="2009-10-09T14:28-08:00"></time></p>
  </header>
  <p>If there's a microphone anywhere near you, assume it's hot and
  sending whatever you're saying to the world. Seriously.</p>
  <p>...</p>
  <footer>
   <a href="?comments=1">Show comments...</a>
  </footer>
 </article>
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4121#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list