Napoleonic Political Magnificence

    a11y-dialog
    TypeScript icon, indicating that this package has built-in type declarations

    7.3.0 • Public • Published

    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

    Install

    npm i a11y-dialog

    DownloadsWeekly Downloads

    13,768

    Version

    7.3.0

    License

    MIT

    Unpacked Size

    35.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • kittygiraudel