Skip to content

Install with jsDelivr

jsDelivr serves files from the published npm package @projekt-ansichtssache/accessibility-widget. Choose which bundle to load before adding the script; the font-loading behavior and required files differ. See Bundle variants for a side-by-side comparison.

This is the default choice. The widget is a single script, and optional reading fonts are requested from external font providers only if a visitor selects one.

<script
src="https://cdn.jsdelivr.net/npm/@projekt-ansichtssache/accessibility-widget@latest/accessibility-widget.min.js"
defer
></script>

This single, larger JavaScript file includes the optional fonts. It does not make separate requests to font providers:

<script
src="https://cdn.jsdelivr.net/npm/@projekt-ansichtssache/accessibility-widget@latest/accessibility-widget.embedded-fonts.min.js"
defer
></script>

All examples use @latest, which follows the newest published release automatically. For controlled production updates, replace latest with the exact package version you have reviewed. The widget initializes itself when the document is ready; include only one variant, once per page.

The self-hosted-font bundle is not published to npm, so it is not available through jsDelivr. To serve fonts from your own site, download the complete self-hosted/ directory from the latest GitHub release; see Self-hosting for deployment instructions.

The repository’s root package metadata is private and is used for development; the public npm package is assembled separately by the release workflow.