Accessibility: Remove unnecessary fieldset and legend elements from the User Profile page.
Also fixes a CSS margin issue in the mobile view. Props punit5658. Fixes #46093. Built from https://develop.svn.wordpress.org/trunk@44756 git-svn-id: http://core.svn.wordpress.org/trunk@44588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b44877f0da
commit
34b3b388fd
|
@ -313,11 +313,10 @@ endif; // $_wp_admin_css_colors
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<tr class="show-admin-bar user-admin-bar-front-wrap">
|
<tr class="show-admin-bar user-admin-bar-front-wrap">
|
||||||
<th scope="row"><?php _e( 'Toolbar' ); ?></th>
|
<th scope="row"><?php _e( 'Toolbar' ); ?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Toolbar' ); ?></span></legend>
|
<td>
|
||||||
<label for="admin_bar_front">
|
<label for="admin_bar_front">
|
||||||
<input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1"<?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> />
|
<input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1"<?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> />
|
||||||
<?php _e( 'Show Toolbar when viewing site' ); ?></label><br />
|
<?php _e( 'Show Toolbar when viewing site' ); ?></label><br />
|
||||||
</fieldset>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.2-alpha-44755';
|
$wp_version = '5.2-alpha-44756';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue