Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task
GlenStautland opened this issue May 5, 2022 · 4 comments
Closed
1 task
Assignees
Labels
Accessibility This issue is related to accessibility (a11y) area: material/menu P2 The issue is important to a large percentage of users, with a workaround

Comments

@GlenStautland
Copy link

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
@GlenStautland GlenStautland added the needs triage This issue needs to be triaged by the team label May 5, 2022
@GlenStautland GlenStautland changed the title Mat-menu wont set focus to mat-menu-items when using Voice over [Bug]Mat-menu wont set focus to mat-menu-items when using Voice over May 6, 2022
@GlenStautland GlenStautland changed the title [Bug]Mat-menu wont set focus to mat-menu-items when using Voice over Bug: Mat-menu wont set focus to mat-menu-items when using Voice over May 6, 2022
@crisbeto
Copy link
Member

crisbeto commented May 6, 2022

@zarend this sounds similar to #24735.

@zarend zarend added P2 The issue is important to a large percentage of users, with a workaround P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent Accessibility This issue is related to accessibility (a11y) area: material/menu and removed needs triage This issue needs to be triaged by the team labels May 6, 2022
@zarend
Copy link
Contributor

zarend commented May 6, 2022

Ty for reporting. Yes, this appears to be the same issue as #24735. This is a PR in progress to fix this.

@zarend zarend removed the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label May 6, 2022
@zarend
Copy link
Contributor

zarend commented May 17, 2022

I believe this was fixed by #24733

@zarend zarend closed this as completed May 17, 2022
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accessibility This issue is related to accessibility (a11y) area: material/menu P2 The issue is important to a large percentage of users, with a workaround
Projects
None yet
Development

No branches or pull requests

3 participants