Plain HTML / JavaScript
One script tag and one call, with no build step. Or import it from npm in any bundler.
On this page
Install
Usage
Notes
- The script-tag build exposes every export on
window.A11yWidget, for exampleA11yWidget.getAccessibilityWidget()?.open(). - Calling
init()again replaces the existing widget. - Pages that swap
body(Hotwire Turbo, htmxhx-boost) are supported: the widget re-attaches itself and re-applies the visitor's settings.
Accessibility statement
Pass
statementUrl to link your accessibility statement from the panel's footer.