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

Respect ignore-focus attribute when shown via focus event #583

Merged
merged 1 commit into from
Sep 30, 2023

Conversation

nowylie
Copy link

@nowylie nowylie commented Sep 24, 2023

Re-use the A11yDialog.maintainFocus() method to set focus when the dialog is shown so that the data-a11y-dialog-ignore-focus-trap attribute on the event target is respected.

See #564 (comment) for more context.

Re-use the A11yDialog.maintainFocus method to set focus when the
dialog is shown so that the `data-a11y-dialog-ignore-focus-trap`
attribute on the event target is respected.
@KittyGiraudel KittyGiraudel merged commit 4dc2d60 into KittyGiraudel:main Sep 30, 2023
1 check passed
@KittyGiraudel
Copy link
Owner

Merged and released as part of https://github.com/KittyGiraudel/a11y-dialog/releases/tag/8.0.2. Thank you! :)

@nowylie
Copy link
Author

nowylie commented Oct 5, 2023

Thanks! :)

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.

2 participants