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

8.0.4 • Public • Published

A11y Dialog

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

Features

  • Follows the Dialog (Modal) pattern from the ARIA Authoring Practices Guide (APG)
  • Supports alert dialogs as per the WAI-ARIA specifications
  • Supports nested dialogs (however questionable)
  • Exposes events to react to changes
  • Provides both a DOM and a JavaScript API
  • Plays nicely with Shadow DOM
  • Is unopinionated with styling
  • Is extensively tested and documented
  • Is fast and tiny

Contributing

Contributing guidelines can be found in CONTRIBUTING.md

Package Sidebar

Install

npm i a11y-dialog

Weekly Downloads

55,393

Version

8.0.4

License

MIT

Unpacked Size

50.5 kB

Total Files

10

Last publish

Collaborators

  • kittygiraudel