WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #30065, comment 4


Ignore:
Timestamp:
10/22/14 09:09:25 (3 years ago)
Author:
rianrietveld
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30065, comment 4

    initial v1  
    2121And put the (real) H1 directly above the content, in this theme: 
    2222In <header> of <main>. 
    23 If home is "Your latest posts", hide the title by adding a screen-reader-text class, because in this case home is in fact an archive without a visual title. 
     23If home is "Your latest posts", use the site title as H1 and hide it by adding a screen-reader-text class, because in this case home is in fact an archive without a visual title. 
    2424 
    2525This way every webpage has a unique and meaningful H1 and the title is always on the same place in the HTML, super easy for screen reader users and (to my opinion) also better for SEO.