New HTML 5.2 dialog element demo (codepen.io)
5 years ago from Simon Evans, Front-end Developer at Torchbox
5 years ago from Simon Evans, Front-end Developer at Torchbox
Interesting that the default dialog
element doesn't keep focus within the Modal when it's open. That's a core requirement for Modal's according to the WAIA spec.
Only supported in Chrome and in FF via about-config change - well...
Huh, it doesn't have a close button by default.
Indeed kind of odd. Another example: https://kyusuf.com/post/a-brief-look-at-html-dialog
I believe its intentional, you are supposed to hook all that stuff up yourself
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Login to Comment
You'll need to log in before you can leave a comment.
LoginRegister Today
New accounts can leave comments immediately, and gain full permissions after one week.
Register now