Accessibility: Improve headings hierarchy in the Theme browser modal dialog.

Fixes #34288.
Built from https://develop.svn.wordpress.org/trunk@35220


git-svn-id: http://core.svn.wordpress.org/trunk@35186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2015-10-16 15:56:25 +00:00
parent 7f4a0ebbf3
commit dc0e7e1a79
6 changed files with 9 additions and 7 deletions

View File

@ -753,10 +753,11 @@ body.folded .theme-overlay .theme-wrap {
}
.theme-overlay .theme-author {
margin: 15px 0 25px;
color: #686868;
font-size: 16px;
font-weight: 400;
margin: 15px 0 25px;
line-height: inherit;
}
.theme-overlay .theme-author a {

View File

@ -753,10 +753,11 @@ body.folded .theme-overlay .theme-wrap {
}
.theme-overlay .theme-author {
margin: 15px 0 25px;
color: #686868;
font-size: 16px;
font-weight: 400;
margin: 15px 0 25px;
line-height: inherit;
}
.theme-overlay .theme-author a {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -423,11 +423,11 @@ $can_install = current_user_can( 'install_themes' );
<span class="current-label"><?php _e( 'Current Theme' ); ?></span>
<# } #>
<h2 class="theme-name">{{{ data.name }}}<span class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></span></h2>
<h3 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></h3>
<p class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></p>
<# if ( data.hasUpdate ) { #>
<div class="notice notice-warning notice-alt notice-large">
<h4 class="notice-title"><?php _e( 'Update Available' ); ?></h4>
<h3 class="notice-title"><?php _e( 'Update Available' ); ?></h3>
{{{ data.update }}}
</div>
<# } #>

View File

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