If you’re using a bundler (such as Webpack or Rollup), you can install
a11y-dialog through npm or yarn like any other dependency:
A11yDialog class and instantiate your dialogs as you intend to.
If you rely on the
If you prefer loading
a11y-dialog from a CDN such as jsdelivr or unpkg, you can do so by adding this script tag in your HTML. It will expose the
A11yDialog global variable.
If you intend to use ES modules, you can use the ESM version of script (from v6.0.0 onwards only):