MCPcopy Index your code
hub / github.com/KittyGiraudel/a11y-dialog

github.com/KittyGiraudel/a11y-dialog @8.1.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release 8.1.5 ↗ · + Follow
39 symbols 81 edges 18 files 12 documented · 31% 3 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

A11y Dialog

This is a lightweight (1.7Kb) 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 and web components
  • Is unopinionated with styling
  • Is extensively tested and documented
  • Is fast and tiny

Contributing

Contributing guidelines can be found in CONTRIBUTING.md

Extension points exported contracts — how you extend this code

Chainable (Interface)
(no doc)
cypress/support/e2e.ts

Core symbols most depended-on inside this repo

aliasFocusableEdges
called by 12
cypress/support/e2e.ts
stripIndent
called by 12
cypress/support/utils.ts
serialize
called by 12
cypress/support/utils.ts
closest
called by 6
src/dom-utils.ts
getActiveEl
called by 4
src/dom-utils.ts
getPlugins
called by 3
rollup.config.js
hide
called by 3
src/a11y-dialog.ts
fire
called by 3
src/a11y-dialog.ts

Shape

Function 19
Method 13
Class 6
Interface 1

Languages

TypeScript100%

Modules by API surface

src/dom-utils.ts13 symbols
src/a11y-dialog.ts12 symbols
cypress/fixtures/shadow-dom-fixture.js6 symbols
cypress/support/utils.ts2 symbols
cypress/support/e2e.ts2 symbols
cypress/e2e/utils.ts2 symbols
src/index.ts1 symbols
rollup.config.js1 symbols

For agents

$ claude mcp add a11y-dialog \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page