WordPress.org

Make WordPress Core

Changeset 44756


Ignore:
Timestamp:
02/20/2019 07:02:12 PM (13 months ago)
Author:
afercia
Message:

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.

File:
1 edited

Legend:

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

    r44574 r44756  
    314314<tr class="show-admin-bar user-admin-bar-front-wrap">
    315315<th scope="row"><?php _e( 'Toolbar' ); ?></th>
    316 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Toolbar' ); ?></span></legend>
     316<td>
    317317<label for="admin_bar_front">
    318318<input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1"<?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> />
    319319        <?php _e( 'Show Toolbar when viewing site' ); ?></label><br />
    320 </fieldset>
    321320</td>
    322321</tr>
Note: See TracChangeset for help on using the changeset viewer.