Make WordPress Core


Ignore:
Timestamp:
10/07/2015 05:34:56 PM (9 years ago)
Author:
afercia
Message:

Bump H3 headings to H2 on the Network Admin > Sites > Edit Site screens.

The navigation tabs appear in an <h3> heading immediately following the main <h1> and need to have a proper hierarchy.
Also, fix the tabs focus style and introduce a new .nav-tab-small CSS class.

Fixes #34079.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/site-themes.php

    r34891 r34913  
    150150<h1 id="edit-site"><?php echo $title; ?></h1>
    151151<p class="edit-site-actions"><a href="<?php echo esc_url( get_home_url( $id, '/' ) ); ?>"><?php _e( 'Visit' ); ?></a> | <a href="<?php echo esc_url( get_admin_url( $id ) ); ?>"><?php _e( 'Dashboard' ); ?></a></p>
    152 <h3 class="nav-tab-wrapper">
     152<h2 class="nav-tab-wrapper nav-tab-small">
    153153<?php
    154154$tabs = array(
     
    163163}
    164164?>
    165 </h3><?php
     165</h2><?php
    166166
    167167if ( isset( $_GET['enabled'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.