Skip to content

A very lightweight and flexible accessible modal dialog script.

License

Notifications You must be signed in to change notification settings

bschlenk/a11y-dialog

 
 

Repository files navigation

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

About

A very lightweight and flexible accessible modal dialog script.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.6%
  • TypeScript 26.5%
  • HTML 14.6%
  • CSS 8.6%
  • Shell 1.7%