GoogleChrome/dialog-polyfill
Polyfill for the HTML dialog element observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 90
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4787
- days_rel: n/a
- days_push: 62
- n_releases_24m: 0
Adoption not part of the score
2458 stars · 240 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript and CSS polyfill that adds support for the HTML <dialog> element and <form method="dialog"> to browsers lacking native support. It registers dialog nodes so they behave like native dialogs, including modal mode with an inert backdrop.
Use cases
- use the html dialog element in older browsers
- show modal popups with a backdrop
- make the page inert while a dialog is open
- support form method=dialog close buttons
- polyfill dialog in ie9 and legacy browsers
- style dialog backdrops consistently across browsers
When to choose
- you need <dialog> support in browsers without native implementation, including IE9+
- you want a small drop-in polyfill that defers to native support when available
- you need modal dialogs with accessibility support in legacy environments
When to avoid
- you only target modern browsers with native <dialog> support
- your dialogs live inside Shadow DOM or stacking-context parents, where the polyfill has known limitations
- you need a full component library rather than a single-element polyfill
Facets
library · maturity maintenance
ui-components accessibility web-development frontend accessibility browser polyfill html-dialog modal javascript nodejs
2 sources
- readme: https://github.com/GoogleChrome/dialog-polyfill · fetched 2026-08-28 · ed27abb42d4b
- registry_npm: https://registry.npmjs.org/dialog-polyfill · fetched 2026-08-29 · a4070b79fab2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| GoogleChrome/dialog-polyfill | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="GoogleChrome/dialog-polyfill")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem