Make WordPress Core


Ignore:
Timestamp:
10/28/2014 09:02:02 PM (10 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: Use a heading heirarchy to provide a better navigation experience when using screenreading software.

Props davidakennedy, rianrietveld, iamtakashi, afercia, davidakennedy, fixes #30065.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/content.php

    r30046 r30072  
    1919                the_title( '<h1 class="entry-title">', '</h1>' );
    2020            else :
    21                 the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' );
     21                the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
    2222            endif;
    2323        ?>
Note: See TracChangeset for help on using the changeset viewer.