Make WordPress Core

Changeset 35220


Ignore:
Timestamp:
10/16/2015 03:55:06 PM (11 years ago)
Author:
afercia
Message:

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

Fixes #34288.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/themes.css

    r35133 r35220  
    754754
    755755.theme-overlay .theme-author {
     756        margin: 15px 0 25px;
    756757        color: #686868;
    757758        font-size: 16px;
    758759        font-weight: 400;
    759         margin: 15px 0 25px;
     760        line-height: inherit;
    760761}
    761762
  • trunk/src/wp-admin/themes.php

    r35187 r35220  
    424424                                <# } #>
    425425                                <h2 class="theme-name">{{{ data.name }}}<span class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></span></h2>
    426                                 <h3 class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></h3>
     426                                <p class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.authorAndUri }}}' ); ?></p>
    427427
    428428                                <# if ( data.hasUpdate ) { #>
    429429                                <div class="notice notice-warning notice-alt notice-large">
    430                                         <h4 class="notice-title"><?php _e( 'Update Available' ); ?></h4>
     430                                        <h3 class="notice-title"><?php _e( 'Update Available' ); ?></h3>
    431431                                        {{{ data.update }}}
    432432                                </div>
Note: See TracChangeset for help on using the changeset viewer.