Make WordPress Core


Ignore:
Timestamp:
03/29/2022 07:06:54 PM (21 months ago)
Author:
joedolson
Message:

Quick/Bulk Edit: Position action buttons in close proximity.

Move the Submit and Cancel buttons in quick edit forms to be next to each other and change the order of the buttons. Improve accessibility for low vision and cognitive impairments for quick editing.

Props afercia, marybaum.
Fixes #55364.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-terms-list-table.php

    r52180 r53023  
    697697
    698698            <div class="inline-edit-save submit">
    699                 <button type="button" class="cancel button alignleft"><?php _e( 'Cancel' ); ?></button>
    700                 <button type="button" class="save button button-primary alignright"><?php echo $tax->labels->update_item; ?></button>
     699                <button type="button" class="save button button-primary"><?php echo $tax->labels->update_item; ?></button>
     700                <button type="button" class="cancel button"><?php _e( 'Cancel' ); ?></button>
    701701                <span class="spinner"></span>
    702702
     
    704704                <input type="hidden" name="taxonomy" value="<?php echo esc_attr( $this->screen->taxonomy ); ?>" />
    705705                <input type="hidden" name="post_type" value="<?php echo esc_attr( $this->screen->post_type ); ?>" />
    706                 <br class="clear" />
    707706
    708707                <div class="notice notice-error notice-alt inline hidden">
Note: See TracChangeset for help on using the changeset viewer.