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:
parent
4e43b1ef56
commit
fdbd6b439b
|
@ -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 -->
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue