Micromodal.js is a lightweight, configurable and a11y-enabled modal library written in pure JavaScript.
It enables you to create WAI-ARIA guidelines compliant modal dialogs, with confidence and with minimal configuration.
Website Demo