[wp-trac] [WordPress Trac] #46757: Media Trash: The Bulk Media options when in the Trash shouldn't provide two primary buttons

WordPress Trac noreply at wordpress.org
Mon Jun 10 11:11:41 UTC 2019


#46757: Media Trash: The Bulk Media options when in the Trash shouldn't provide two
primary buttons
-------------------------------------+-------------------------------------
 Reporter:  garrett-eclipse          |       Owner:  afercia
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.3
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-design-feedback    |     Focuses:  ui, accessibility,
  has-screenshots                    |  administration
-------------------------------------+-------------------------------------

Comment (by afercia):

 > suggest a red button class

 Worth considering the alternate color schemes available under "Your
 Profile". For example, the "Midnight" color scheme makes all the buttons
 red. New `delete` red buttons would be hard to distinguish from normal
 buttons.

 The current pattern for controls associated with destructive action in
 WordPress is `red underlined text`, whether the underlying HTML element is
 a link or a button. While this may be not 100% ideal, because it's unclear
 if the control is a link or a button, I'd like to propose to follow the
 current pattern. There's already a `button-link-delete` CSS class that can
 be used for this purpose.

 These buttons should also be reordered, as pointed out in #46758. The
 primary action button should be on the left, and the destructive action
 button should be clearly distinguishable. Worth also reminding that for
 accessibility, all related controls should be visually grouped together.
 See #40822.

 Considering the above, I've quickly tried a few simple changes. See the
 screenshot below, which tries to illustrate all the possible states of
 these buttons.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46757#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list