WordPress.org

Make WordPress Core

Opened 7 months ago

Closed 7 months ago

Last modified 7 months ago

#52778 closed defect (bug) (invalid)

Admin menu hover on menu and submenu items adds 4px inset box shadow

Reported by: dingo_d Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.7
Component: Administration Keywords:
Focuses: ui, administration Cc:

Description

When I hover on menu items or submenu items I get this weird inset shadow shown. This wasn't here before.

Is this a bug or some kind of a11y improvement?

Attachments (1)

Screenshot 2021-03-11 at 15.28.11.png (63.5 KB) - added by dingo_d 7 months ago.
There is a blue bar on the left side of the submenu. The same happens on menu hover.

Download all attachments as: .zip

Change History (5)

@dingo_d
7 months ago

There is a blue bar on the left side of the submenu. The same happens on menu hover.

#1 @dingo_d
7 months ago

This seems to be triggering it

#adminmenu a:focus, #adminmenu a:hover, .folded #adminmenu .wp-submenu-head:hover {
    box-shadow: inset 4px 0 0 0 currentColor;
    transition: box-shadow .1s linear;
}

#2 @joyously
7 months ago

It was intentional.

#3 @SergeyBiryukov
7 months ago

  • Component changed from General to Administration
  • Keywords dev-feedback 2nd-opinion removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Thanks for the ticket!

Is this a bug or some kind of a11y improvement?

This was an accessibility improvement indeed, see [49961] / #28599.

#4 @dingo_d
7 months ago

Oh, cool. The dash on the submenu is a bit odd, but it looks good on the main menus.

Thanks for the info, wasn't aware of it.

Note: See TracTickets for help on using tickets.