Skip to content
main
Switch branches/tags
Code

A11y Dialog

This is a lightweight (1.3Kb) yet flexible script to create accessible dialog windows.

Features:

  • Closing dialog on overlay click and ESC
  • Toggling aria-* attributes
  • Trapping and restoring focus
  • Firing events
  • DOM and JS APIs
  • Fast and tiny