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

Fixes #34288.

git-svn-id: https://develop.svn.wordpress.org/trunk@35220 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2015-10-16 15:55:06 +00:00
parent e68dfb6c6b
commit cb2285f63e
2 changed files with 4 additions and 3 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

@ -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>
<# } #>