WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/07/2015 05:34:56 PM (6 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-users.php

    r34891 r34913  
    205205<h1 id="edit-site"><?php echo $title; ?></h1>
    206206<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>
    207 <h3 class="nav-tab-wrapper">
     207<h2 class="nav-tab-wrapper nav-tab-small">
    208208<?php
    209209$tabs = array(
     
    218218}
    219219?>
    220 </h3><?php
     220</h2><?php
    221221
    222222if ( isset($_GET['update']) ) :
Note: See TracChangeset for help on using the changeset viewer.