Make WordPress Core


Ignore:
Timestamp:
09/07/2015 04:02:43 PM (9 years ago)
Author:
afercia
Message:

Bump H3 headings to H2 on the Network Add New User screen for better accessibility.

Props Cheffheid.
Fixes #33605.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-new.php

    r33884 r33945  
    306306if ( is_multisite() ) {
    307307    if ( $do_both )
    308         echo '<h3 id="add-existing-user">' . __('Add Existing User') . '</h3>';
     308        echo '<h2 id="add-existing-user">' . __( 'Add Existing User' ) . '</h2>';
    309309    if ( !is_super_admin() ) {
    310310        echo '<p>' . __( 'Enter the email address of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.' ) . '</p>';
     
    368368if ( current_user_can( 'create_users') ) {
    369369    if ( $do_both )
    370         echo '<h3 id="create-new-user">' . __( 'Add New User' ) . '</h3>';
     370        echo '<h2 id="create-new-user">' . __( 'Add New User' ) . '</h2>';
    371371?>
    372372<p><?php _e('Create a brand new user and add them to this site.'); ?></p>
Note: See TracChangeset for help on using the changeset viewer.