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

p-multiselect: Unable to tab to the footer template within a MultiSelect #13857

Closed
adyeardley opened this issue Oct 11, 2023 · 2 comments
Closed
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@adyeardley
Copy link

Describe the bug

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior
The multiselect closes if you use tab to move to the footer template.

Expected behavior
By using tab. I want to be able to navigate to the footer.

Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/primeng-multiselect-demo-shsaac?file=src%2Fapp%2Fapp.component.html

What is the motivation / use case for changing the behavior?
For accessibilty, we need to be able to use the multiselect using only keyboard inputs.

Environment

Angular version: 16.2.0

PrimeNG version: 16.0.2

Browser:
Edge 117.0.2045.60
Chrome 118.0.5993.71

Reproducer

https://stackblitz.com/edit/primeng-multiselect-demo-shsaac?file=src%2Fapp%2Fapp.component.html

Angular version

16.2.0

PrimeNG version

16.0.2

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

16.14.2

Browser(s)

Edge, Chrome, Firefox

Steps to reproduce the behavior

  • open the multiselect
  • use TAB to try and navigate to the footer content
  • the multiselect closes.

Expected behavior

By using tab. I want to be able to navigate to the footer.

@adyeardley adyeardley added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 11, 2023
@capc0
Copy link
Contributor

capc0 commented Sep 27, 2024

Additionally, if the current focus is within the footer and the user presses tab again, the focus goes to the next DOM element outside of the overlay panel, breaking the "focus-trap-logic".

@mertsincan
Copy link
Member

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation and try the latest PrimeNG version(v19). If there is no improvement on this, can you open a new issue so we can include it in our roadmap?

Thanks a lot for your understanding!
Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

3 participants