Version: 6.1.0
Introduction
a11y-dialog is a lightweight (1.5Kb) yet flexible script to create accessible dialog windows.
โ๏ธ Leveraging the native <dialog>
element if desired
โ๏ธ Closing dialog on overlay click and ESC
โ๏ธ Toggling aria-*
attributes
โ๏ธ Trapping and restoring focus
โ๏ธ Firing events
โ๏ธ DOM and JS APIs
โ๏ธ Fast and tiny
You can try the live demo on CodeSandbox.
Originally, this repository was a fork from accessible-modal-dialog by Greg Kraus. It has gone through various stages since the initial implementation and both packages are no longer similar in the way they work.