[wp-trac] [WordPress Trac] #55541: Update the styling for invalid form fields

WordPress Trac noreply at wordpress.org
Thu Apr 7 10:58:42 UTC 2022

#55541: Update the styling for invalid form fields
 Reporter:  afercia         |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  css             |
 Splitting this out from #47018.

 In a few places in the admin, a red border (actually a border and a box-
 shadow) are added to some form controls when submitting the form with some
 empty values.

 The style of this red border still uses some transparency and doesn't
 match any longer with the new style used, for example, for the focus style
 which is a 'solid' border with no transparency.

 For consistency, the red 'error' style should be updated. Here's a few
 places where the red error style can be checked:
 - The Categories and Tags pages.
 - The Edit Comment page, see the date and time small form under 'Submitted
 - Same for the Classic Editor Edit post page.
 - The Menus page > create a new menu.

 See attached screenshots.

Ticket URL: <https://core.trac.wordpress.org/ticket/55541>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list