micromodal/micromodal

⭕ Tiny javascript library for creating accessible modal dialogs

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 33 minutes ago
Type:Library / SDKCategory(s):UI Components & Design SystemsWeb Development
Added to GitGenius on September 19th, 2026
Created on August 10th, 2017
Open Issues & Pull Requests: 21 (+0)
GitHub issues: Enabled
Number of forks: 234
Total Stargazers: 3,659 (+0)
Total Subscribers: 31 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 55.3 days
Mean response time: 409.6 days
90th percentile: 1729.1 days
Tracked items: 55

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 11
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,815 days
Stale 30+ days: 11
Stale 90+ days: 11

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • needs more info (13)
  • help wanted (7)
  • enhancement (6)
  • confirmed (5)
  • duplicate (5)
  • multiple modals (4)
  • docs (3)
  • refactor (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Micromodal is a lightweight JavaScript library for creating accessible modal dialogs. The library addresses the challenge of building modals that meet accessibility standards without requiring heavy dependencies or complex configuration. It handles the core accessibility concerns automatically: toggling ARIA attributes on open and close, trapping tab focus within the modal, focusing the first focusable element, and restoring focus to the previously focused element after the modal closes. The tool also manages common user interactions like closing on overlay click or pressing the escape key, and supports nested modals.

Developers should choose this tool if they need a minimal, dependency-free solution for modal dialogs and want accessibility built in from the start rather than bolted on afterward. The library is particularly suited to projects where bundle size matters or where you want to avoid framework-specific modal solutions. At roughly 1.8kb minified and gzipped, it integrates easily into vanilla JavaScript projects or as a complement to existing frameworks.

The project maintains an open contribution process with a simple development setup: cloning the repository, installing dependencies, and running a dev server with live reload. The codebase follows the standardjs coding standard, enforced through the package configuration. The team actively manages releases through a structured process involving version updates, changelog maintenance, and automated documentation deployment to GitHub Pages triggered by release creation. The project is actively seeking additional core maintainers to share maintenance responsibilities.