Skip to content

Bug: Mat-menu wont set focus to mat-menu-items when using Voice over #24883

Closed
@GlenStautland

Description

@GlenStautland

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

When using Voice over and opening the mat menu, the focus is not set to the first mat menu item if the item is a button.

Reproduction

Steps to reproduce:

  1. Use iPhone with voice over on
  2. open mat-menu

Expected Behavior

Opening the menu should set the focus to the first item and the focus should stay inside the menu when "swiping"

Actual Behavior

Opening the menu don't move the focus from the menu button to the menu item. If the User single taps the screen after opening the menu the focus is moved.

  1. double-tap to open the menu -> the menu opens and the focus is not moved, the user can then swipe on and move the focus in the background while the menu is open.
  2. double-tap to open the menu -> while menu is open and focus is on matmenutrigger button -> single tap takes the focus inside the menu and everything is working as expected

Environment

  • Angular:
  • CDK/Material:
  • Browser(s):
  • Operating System (e.g. Windows, macOS, Ubuntu):
  • Accessibility
  • Voice over

Metadata

Metadata

Assignees

Labels

AccessibilityThis issue is related to accessibility (a11y)P2The issue is important to a large percentage of users, with a workaroundarea: material/menu

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions