Make WordPress Core


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

    r34265 r34913  
    139139<h1 id="edit-site"><?php echo $title; ?></h1>
    140140<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>
    141 <h3 class="nav-tab-wrapper">
     141<h2 class="nav-tab-wrapper nav-tab-small">
    142142<?php
    143143$tabs = array(
     
    152152}
    153153?>
    154 </h3>
     154</h2>
    155155<?php
    156156if ( ! empty( $messages ) ) {
Note: See TracChangeset for help on using the changeset viewer.