material-components / material-components/material-web

[menu] Safari: keyboard navigation fails after clicking on submenu

Open
#5,013 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
11.3k
Forks
1.1k
Avg merge
20h 28m
Merged PRs (30d)
13

Description

### What is affected?

Component

### Description

1. On Safari, go to the menu demo: https://material-web.dev/components/menu/ and expand the interactive demo
2. click on the "Menu with submenus" `Open Menu` button.
3. click on one of the items in the menu with a submenu.
4. now use arrow keys to navigate the menu.

Expected: arrow keys can navigate the menu.
Actual: the up/down keys do nothing and the left/right seem to work unreliably.

### Reproduction

https://material-web.dev/components/menu/

### Workaround

N/A

### Is this a regression?

No or unsure. This never worked, or I haven't tried before.

### Affected versions

Failing in 1.0

### Browser/OS/Node environment

Browser: Safari 16.5.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the interactive menu demo at https://material-web.dev/components/menu/ using Safari 16.5.2, then trace the menu-with-submenus implementation from the Open Menu interaction. Done means arrow-key navigation works reliably after selecting a submenu item, matching the expected behavior described above.

Written by the indexing model from the issue text.

Assessment

Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.