Your Docusaurus site did not load properly.

A very common reason is a wrong site baseUrl configuration.

Current configured baseUrl = / (default value)

We suggest trying baseUrl =

Version: 7.0.0


a11y-dialog is a lightweight yet flexible script to create accessible dialog windows.

a11y-dialog: 1.3Kb

โœ”๏ธŽ 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.

Last updated on