pattern-directory icon indicating copy to clipboard operation
pattern-directory copied to clipboard

Filter menu: Hover text color overrides focus state on current menu item

Open trushaamin opened this issue 1 year ago • 1 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'wordpress.org'
  2. Click on 'My Patterns'
  3. Scroll down to 'Public button'
  4. See error button hover focus not proper working

Expected behavior After logging into WordPress.org, we navigated to the "Patterns" option and located the "My Patterns" button at the top. Upon selecting this option, we clicked the "Public" button and noticed that the hover focus was not working properly.

Screenshots Button Hover Focus

Desktop (please complete the following information):

  • OS: iOS
  • Browser chrome, safari
  • Version macOS 10.15.7

Additional context check the "My patterns" and then the "Public" button hover focus check.

trushaamin avatar May 06 '24 11:05 trushaamin

I can reproduce this — on the "current" menu item, when both :focus and :hover are active, the text and background are both black. You can see this happen if you click the active menu item again. The background should probably use the light-grey hover background.

Screenshot 2024-05-06 at 10 30 23 AM

On other menu items, the focus state overrides the hover state, this should probably also be fixed so that :hover:focus has the light grey background too.

ryelle avatar May 06 '24 14:05 ryelle