MIT selection Accessibility

Accessible dialog window

KittyGiraudel/a11y-dialog

a11y-dialog is a small script, stated at 1.7 Kb, for creating accessible modal dialog windows that follow the Dialog (Modal) pattern of the ARIA Authoring Practices Guide.

A small glowing window ringed with light, floating above dimmed, wavy layers.
Author
KittyGiraudel
Language
TypeScript
Licence
MIT
GitHub stars
2,490
Last activity
Category
Accessibility

Licence checked on 25/10/2026. Stars and last activity recorded on GitHub on the same date.

Overview

a11y-dialog is a lightweight and flexible script for building accessible dialog windows. The README states 1.7 Kb, says it follows the Dialog (Modal) pattern from the ARIA Authoring Practices Guide, and that it supports alert dialogs as per the WAI-ARIA specifications.

It exposes events to react to changes and provides both a DOM API and a JavaScript API. It also supports nested dialogs, which the README itself calls questionable, works with Shadow DOM and web components, and is unopinionated about styling. The README points to a documentation site and a CodeSandbox demo for usage.

Highlights

  • Follows the Dialog (Modal) pattern from the ARIA Authoring Practices Guide (APG).
  • Supports alert dialogs as per the WAI-ARIA specifications.
  • Exposes events to react to changes, with both a DOM API and a JavaScript API.
  • Plays nicely with Shadow DOM and web components; unopinionated about styling.
  • Stated size of 1.7 Kb, with tests and documentation described as extensive.

Who it is for

For web developers who want modal dialogs or alert dialogs that follow the ARIA APG pattern, while keeping control over their appearance.

Installation

The README contains no installation step: it points to the documentation site and a CodeSandbox demo. The repository’s package.json declares a package named a11y-dialog, at version 8.1.5.

Read the README on GitHub

Points of attention

  • The script is unopinionated about styling: the look of the dialog and its backdrop is yours to write.
  • Nested dialogs are supported, but the README itself adds «however questionable».

Can an agent use it?

No SKILL.md, AGENTS.md, CLAUDE.md, Cursor rules or MCP server found at the root or in the README. This is a JavaScript library for web interfaces.

Likes and comments

No account needed: one like per browser, which you can remove. Comments are published after review.

This project is hosted by its author: your comments are about this page, not the code. To report an issue with the project, use its repository.

MIT selection

Accessibility audit by the agent

JustasMonkev/mcp-accessibility-scanner

An MCP server that audits a page with axe-core and Playwright, with SKILL.md and .mcp.json.

MIT selection

ISTAT data for your agent

ondata/istat_mcp_server

An MCP server that queries official Italian statistics, shipped with its SKILL.md.

Made by SOGNI DIGITALI

Complete design system

design-system-builder

One interactive multilingual page plus the design.md file your coding agents read.

A custom skill for your trade?

We also write private skills, in your name. Let's talk about it on a 30-minute call.

Book the free call (30 min)