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

Props Cheffheid.
Fixes #33605.

git-svn-id: https://develop.svn.wordpress.org/trunk@33945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2015-09-07 16:02:43 +00:00
parent 65156c6fc5
commit 9f2738924c

View File

@ -305,7 +305,7 @@ if ( ! empty( $messages ) ) {
<?php
if ( is_multisite() ) {
if ( $do_both )
echo '<h3 id="add-existing-user">' . __('Add Existing User') . '</h3>';
echo '<h2 id="add-existing-user">' . __( 'Add Existing User' ) . '</h2>';
if ( !is_super_admin() ) {
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>';
$label = __('Email');
@ -367,7 +367,7 @@ do_action( 'user_new_form', 'add-existing-user' );
if ( current_user_can( 'create_users') ) {
if ( $do_both )
echo '<h3 id="create-new-user">' . __( 'Add New User' ) . '</h3>';
echo '<h2 id="create-new-user">' . __( 'Add New User' ) . '</h2>';
?>
<p><?php _e('Create a brand new user and add them to this site.'); ?></p>
<form method="post" name="createuser" id="createuser" class="validate" novalidate="novalidate"<?php