# KittyGiraudel/a11y-dialog

A very lightweight and flexible accessible modal dialog script.

Repository: https://github.com/KittyGiraudel/a11y-dialog
Canonical: https://ross.abutalabs.com/products/a11y-dialog
Homepage: https://a11y-dialog.netlify.app
Language: TypeScript
License: MIT
License Family: permissive
Topics: dialog, modal, accessibility, a11y
Last push: 2026-08-24T05:42:05+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 45, longevity 100
- inputs: {"age_days": 3856, "days_push": 9, "days_rel": 208, "gap_med": 143.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2488, forks 131 (observed 2026-08-28T04:06:55.676006+00:00)

## What it is
A11y Dialog is a lightweight (1.7Kb) TypeScript library for creating accessible modal dialog windows that follow the WAI-ARIA APG Dialog pattern. It provides both DOM and JavaScript APIs, supports alert and nested dialogs, and works with Shadow DOM and web components.

## Use cases
- create accessible modal dialogs
- build alert dialogs for screen reader users
- manage focus trapping in modals
- add dialogs to web components with Shadow DOM
- replace inaccessible native modal implementations
- show nested dialog windows
- make popups usable with assistive technology

## When to choose
- you need a tiny, unopinionated accessible modal solution
- you want to follow the WAI-ARIA APG dialog pattern
- you need framework-agnostic dialog behavior with DOM and JS APIs
- you need Shadow DOM and web component support

## When to avoid
- you want a full UI component library with styled modals
- you need a React-specific dialog component with built-in styling
- you need non-modal (modeless) dialogs or popovers

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, accessibility
- domain: web-development, frontend, accessibility
- platform: browser, cross-platform
- tags: modal-dialog, a11y, focus-management, typescript, tiny-library, wai-aria, nodejs

## Member repositories
- KittyGiraudel/a11y-dialog (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:55.676006+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:27:51.674525+00:00, confidence not recorded.
  - readme: https://github.com/KittyGiraudel/a11y-dialog (fetched 2026-08-28T04:06:55.676006+00:00, sha d5ef5fbe1017)
  - homepage: https://a11y-dialog.netlify.app (fetched 2026-08-29T10:09:46.394384+00:00, sha b6bf9868db96)
  - registry_npm: https://registry.npmjs.org/a11y-dialog (fetched 2026-08-29T10:09:46.403822+00:00, sha 3c000205f6f9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
