Twenty Fifteen: Use a p for the site description for a better experience when using a screenreader.

Props rianrietveld, fixes #30057, see #30065.


git-svn-id: https://develop.svn.wordpress.org/trunk@30009 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Stewart 2014-10-24 14:50:49 +00:00
parent b450eb023f
commit c9f6dd15f1
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
<header id="masthead" class="site-header" role="banner">
<div class="site-branding">
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
<p class="site-description"><?php bloginfo( 'description' ); ?></p>
<button class="secondary-toggle"><?php esc_html_e( 'Menu and widgets', 'twentyfifteen' ); ?></button>
</div><!-- .site-branding -->
</header><!-- .site-header -->

View File

@ -1304,7 +1304,7 @@ img.aligncenter {
font-size: 1.2rem;
font-weight: 400;
line-height: 1.5;
margin-top: 0.5em;
margin: 0.5em 0 0;
opacity: 0.7;
}