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

fix(material/menu): set correct focus origin on item when opened via keyboard #21252

Merged
merged 1 commit into from Jan 6, 2021

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Dec 8, 2020

Fixes that we were setting the program focus origin on the first menu item, even though the user opened it using the keyboard.

Fixes #21241.

@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent G This is is related to a Google internal issue target: patch This PR is targeted for the next patch release labels Dec 8, 2020
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Dec 8, 2020
@zelliott
Copy link
Collaborator

zelliott commented Dec 9, 2020

Left two minor comments, otherwise LGTM.

…keyboard

Fixes that we were setting the `program` focus origin on the first menu item,
even though the user opened it using the keyboard.

Fixes angular#21241.
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Dec 9, 2020
@zelliott
Copy link
Collaborator

@annieyw Any update on this? Thanks!

@ghost
Copy link

ghost commented Dec 23, 2020

Thanks for fixing this @crisbeto ! I'm looking forward to this as it will unblock some a11y work we're doing.

@jelbourn jelbourn added Accessibility This issue is related to accessibility (a11y) P2 The issue is important to a large percentage of users, with a workaround and removed P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent labels Jan 5, 2021
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@annieyw annieyw merged commit 3484f71 into angular:master Jan 6, 2021
annieyw pushed a commit that referenced this pull request Jan 6, 2021
…keyboard (#21252)

Fixes that we were setting the `program` focus origin on the first menu item,
even though the user opened it using the keyboard.

Fixes #21241.

(cherry picked from commit 3484f71)
wagnermaciel pushed a commit to wagnermaciel/components that referenced this pull request Jan 14, 2021
…keyboard (angular#21252)

Fixes that we were setting the `program` focus origin on the first menu item,
even though the user opened it using the keyboard.

Fixes angular#21241.
@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 Feb 6, 2021
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) action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement G This is is related to a Google internal issue P2 The issue is important to a large percentage of users, with a workaround target: patch This PR is targeted for the next patch release
Projects
None yet
4 participants