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

Dialog/Confirm: Refocus original element on close #5777

Closed
jiverson opened this issue May 25, 2024 · 0 comments · Fixed by #5778
Closed

Dialog/Confirm: Refocus original element on close #5777

jiverson opened this issue May 25, 2024 · 0 comments · Fixed by #5778
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@jiverson
Copy link
Contributor

jiverson commented May 25, 2024

Describe the bug

When closing the Dialog or Confirm components the element opener should receive the focus after the dialog or confirm is closed.

Reproducer

https://stackblitz.com/edit/nzpgxp-f3lzju

PrimeVue version

3.50.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

When closing the Dialog or Confirm components the element opener should receive the focus after the dialog or confirm is closed.

@jiverson jiverson added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 25, 2024
@tugcekucukoglu tugcekucukoglu added the Component: Accessibility Issue or pull request is related to WCAG or ARIA label Jun 7, 2024
@tugcekucukoglu tugcekucukoglu removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 10, 2024
@tugcekucukoglu tugcekucukoglu added this to the 3.53.0 milestone Jun 10, 2024
@tugcekucukoglu tugcekucukoglu added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants