Post

How to dismiss native #HTML dialog elements when the backdrop is clicked: "The `closedby` attribute tells browsers what methods of closing a <dialog> should be used/supported for that particular element." gomakethings.com/how-to-dismi...

gomakethings.comHow to dismiss native HTML dialog elements when the backdrop is clickedThe HTML <dialog> element is a browser-native way to create dialog modals. It handles a lot of (but not all of) the accessibility stuff out-of-the-box. By default, the <dialog> element is closed…

1 repost2 likes

No replies yet.