[wp-trac] [WordPress Trac] #61616: Add border to admin sidebar/bar for Windows high contrast mode

WordPress Trac noreply at wordpress.org
Mon Aug 12 12:13:01 UTC 2024


#61616: Add border to admin sidebar/bar for Windows high contrast mode
-------------------------------------------------+-------------------------
 Reporter:  wildworks                            |       Owner:  rcreators
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.7
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots 2nd-       |     Focuses:
  opinion                                        |  accessibility
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

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


Comment:

 PR 7163 is a good start but maybe not complete.

 1. The toolbar's outline breaks under the New content link icon on smaller
 screens because the `line-height` is too tall on `#wpadminbar #wp-admin-
 bar-new-content .ab-icon:before`.
 2. I would like to **consider** adding an outline (or border) for
 submenus. [attachment:"61616.outline-submenus.diff"] keeps the 5px left
 border from r49961 and adds 1px for the other three sides, and it makes
 the current and non-current submenu styles more consistent. In the
 toolbar, if the incomplete outline around the Network Admin submenu is a
 significant problem, raising the second submenu's `z-index` to `100000`
 might help.

 Also, the border around the mobile menu toggle appears when the page
 loads, and it does not change when focused. (border added in
 [https://core.trac.wordpress.org/changeset/26134/trunk/src/wp-admin/css
 /wp-admin.css r26134])

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


More information about the wp-trac mailing list