[wp-trac] [WordPress Trac] #54368: Twenty Twenty-One: Visibility issue on Input field of search widget in dark mode

WordPress Trac noreply at wordpress.org
Sat Mar 25 17:44:38 UTC 2023


#54368: Twenty Twenty-One: Visibility issue on Input field of search widget in dark
mode
-------------------------------------------------+-------------------------
 Reporter:  amin7                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Bundled Theme                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots needs-patch 2nd-     |     Focuses:  ui, css
  opinion needs-design                           |
-------------------------------------------------+-------------------------
Changes (by poena):

 * keywords:  has-screenshots needs-patch => has-screenshots needs-patch
     2nd-opinion needs-design


Comment:

 I am not sure what the expected result is. If we need to make changes, I
 think some design help is needed to improve the styles.

 Because the black border around the input gets converted to white when
 dark mode is enabled, it is the same color as the input field. The input
 field background color and text color does not change with the dark mode.

 Currently:
 - The search label is visible, indicating that this is a search input
 field.
 - When hovering over the input, the pointer changes to a caret indicating
 that it is an editable field.
 - When hovering over the button, the button color changes, increasing the
 contrast between the input field and the button.
 - When focus is moved to the input, there is a visible dotted outline
 inside the field.
 - When focus is moved to the button, there is a visible dotted outline
 inside the button.

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


More information about the wp-trac mailing list