Skip to content

How to prevent clicking and button presses to make modal disappear? #2649

Answered by Sarenor
JoelSatkas asked this question in Q&A
Discussion options

You must be logged in to vote

Not with Skeleton, I' afraid: https://www.skeleton.dev/utilities/modals#accessibility

Skeleton does not provide a means to disable the backdrop's click to close feature, as this would be harmful to accessibility. View the ARIA APG guidelines to learn more about modal accessibility.

You'll have to implement your own take on modals if you want to do this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JoelSatkas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants