Super Simple Modals is a small Vanilla JavaScript library that does what it says on the tin. Allow you to create pop-up modals on your website in no time, with a tiny amount of code.
Demo how to handle long content, & keep focus at the top of the modal instead of tabbing to the first focusable element which could be at the bottom of the modal (scrolling the user past the content).
Originally posted by TheOneAndOnlyZulu March 8, 2022
We want to use the latest & greatest in the world of JS & css, but we should also think of the poor souls that need to support IE ๐คฎ
One set of css/js files for modern browsers that will only work on the latest patch of all browsers
One set of css/js files for elderly browsers IE 11 (I refuse to support anything earlier than IE11).
Originally posted by TheOneAndOnlyZulu March 8, 2022
Add open / close animations as a minor SCSS file that can be optionally enqueued alongside the base styles.