Nice! It's worth mentioning that there's also a native HTML element <dialog>: css-tricks.com/some-hands-on-with-...
Unfortunately it's not widely supported by browsers now: caniuse.com/#search=dialog
We're stuck with polyfills for now
Yeah also very limited for now :/
Great! What about accessibility? It's a key point of doing good pop-up, I guess?
I thinks the main accessibility problem with this approach is that the focus is not "locked" in the popup. See an overview of the current way of doing that here: stackoverflow.com/a/44481275/1789900
EDIT: also relevant developer.mozilla.org/en-US/docs/W...
Thanks for the post! Always looking for new people to follow
Wow. That's some very smart stuff.
This is cool!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.