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

Props rianrietveld, fixes #30057, see #30065.

Built from https://develop.svn.wordpress.org/trunk@30009


git-svn-id: http://core.svn.wordpress.org/trunk@30009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ian Stewart 2014-10-24 14:51:19 +00:00
parent 4e43b1ef56
commit fdbd6b439b
3 changed files with 3 additions and 3 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;
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-30008';
$wp_version = '4.1-alpha-30009';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.