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

Menubar: Enter key moves focus at first menuitem #15359

Merged

Conversation

RogueTea
Copy link
Contributor

@RogueTea RogueTea commented Apr 25, 2024

Solves issue #15040
Fixed #15040
menu items now keeps the focus the clicked/Enterkey one and no longer focuses back to first menuitem

Copy link

vercel bot commented Apr 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Apr 25, 2024 0:07am

@@ -1050,10 +1050,6 @@ export class Menubar implements AfterContentInit, OnDestroy, OnInit {

anchorElement ? anchorElement.click() : element && element.click();

const processedItem = this.visibleItems[this.focusedItemInfo().index];
Copy link
Contributor

Choose a reason for hiding this comment

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

mmm I'm not sure if this is ok for accessibility.
@TaneliTuomola could you check it, please? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am aware there is a known issue(#15048) for accessibility for keyboard navigation whilst using Microsoft narrator. That issue I believe still needs to be resolved.

@cetincakiroglu cetincakiroglu merged commit bf15195 into primefaces:master Apr 26, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Menubar: Enter key moves focus at first menuitem
3 participants