Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years 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:
Priority: normal Milestone:
Component: Administration Version: 5.7
Severity: normal Keywords:
Cc: Focuses: ui, administration

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 6 years 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
6 years ago

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

#1 @dingo_d
6 years 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
6 years ago

It was intentional.

#3 @SergeyBiryukov
6 years ago

  • Component GeneralAdministration
  • Keywords dev-feedback 2nd-opinion removed
  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed

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
6 years 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.