Skip to main content

ON ACCESSIBLE - Free WCAG website accessibility scanner and assistive widget

    Accessibility Widget

    One snippet. Tools visitors use to adjust the page.

    Drop our widget on any website to give visitors contrast, font size, color filters, color-blind modes, reading tools, audio reader, and 7 one-click accessibility profiles.

    3-step setup

    Register your site on a Pro or Premium plan, then paste one snippet.

    STEP 1

    Register your domain

    Each widget is locked to a single domain (and its subdomains).

    STEP 2

    Copy your snippet

    Paste the snippet (two script tags) before </body> on every page.

    STEP 3

    We check the domain

    The widget checks its site key and domain, and refuses to run on other domains.

    Install on your platform

    Pick your platform for step-by-step instructions. The same snippet works everywhere.

    HTML / Custom site
    1. Open your main HTML template (e.g. index.html or your layout file).
    2. Paste the snippet just before the closing </body> tag.
    3. Deploy. The widget appears in the bottom corner.
    WordPress
    1. Use a plugin like "Insert Headers and Footers" or "WPCode" (or edit your theme's footer.php if you're comfortable with that).
    2. Paste the snippet just before the closing </body> tag.
    3. Save. The widget appears on every public page.
    4. A dedicated ON ACCESSIBLE plugin is planned but not yet available — this page will be updated when it ships.
    Shopify
    1. Online Store → Themes → Edit code → theme.liquid.
    2. Paste the snippet just before the closing </body> tag.
    3. Save and test on the storefront — the widget should appear on every page.
    4. A dedicated ON ACCESSIBLE app is planned but not yet available — this page will be updated when it ships.
    Wix
    1. Settings → Custom Code in your Wix dashboard (Premium plan required).
    2. Click + Add Custom Code.
    3. Paste the snippet. Set Add Code to Pages → All pages, place in Body — end.
    4. Apply and publish.
    Squarespace
    1. Settings → Advanced → Code Injection (Business plan or higher required).
    2. Paste the snippet into the Footer field.
    3. Save. Visit the site to confirm the widget loads.
    Webflow
    1. Project Settings → Custom Code tab.
    2. Paste the snippet into Footer Code.
    3. Save changes and republish your site.
    Framer
    1. Site Settings → General → Custom Code.
    2. Paste the snippet into End of <body> tag.
    3. Publish. The widget activates site-wide.
    Ghost
    1. Settings → Code injection.
    2. Paste the snippet into Site Footer.
    3. Save. Works on all blog pages.
    Joomla
    1. Extensions → Templates → edit your active template.
    2. Open index.php and paste the snippet just before </body>.
    3. Save. Or use a Custom HTML module placed in the footer position.
    Drupal
    1. Open your theme's templates/html.html.twig (if your theme has none, copy it from its base theme into your theme's templates folder).
    2. Paste the whole snippet, both <script> tags, just before the closing </body> tag.
    3. Clear all caches (Configuration → Development → Performance), then reload the site.
    4. Don't use a block body or a JS Injector: text formats strip <script> tags, and a JS Injector only takes plain JavaScript, so the widget's loader tag can't go there.
    React / Vue / Angular / Next.js
    1. Add the snippet to your root HTML template (public/index.html, app/layout.tsx, nuxt.config, etc.).
    2. For Next.js: use <Script src="https://cdn.onaccessible.com/widget.js?v=2.10.21" strategy="afterInteractive" /> with a <script id="oa-config"> tag setting window.onAccessibleConfig before it.
    3. For SPAs: place once in the root layout — the widget self-isolates and survives client-side route changes.
    BigCommerce
    1. Storefront → Script Manager → Create a Script.
    2. Location: Footer. Select pages: All pages. Script type: Script.
    3. Paste the snippet and save.
    GoDaddy / Weebly Builder
    1. Site Settings → SEO/Site-wide Code or Embed app.
    2. Paste the snippet in the footer/body section.
    3. Republish.

    Compatibility & troubleshooting

    The widget is plain JavaScript that loads asynchronously from our CDN. It works on any platform that allows custom <script> tags (the snippet has two: a short config script and the loader).

    Fully supported

    • HTML / static sites
    • WordPress, Shopify, Wix
    • Squarespace, Webflow, Framer
    • Ghost, Joomla, Drupal
    • React, Vue, Angular, Next.js, Nuxt
    • BigCommerce, Magento

    Needs configuration

    • Strict CSP sites: allow the inline config script and the hosts in the Content Security Policy list below, or start from one of its example policies.
    • SPAs that delay mount: place snippet in root layout, not per route.
    • Subdomains of a registered domain are allowed automatically. A different domain needs its own site.

    Not supported

    • Google AMP pages (no third-party JS)
    • Native iOS / Android apps
    • Email / PDF / print formats
    • Cross-origin iframes (loads on parent only)
    • Unregistered domains (origin-locked)
    Widget not appearing? Quick checklist
    1. Open browser DevTools → Console. Look for messages starting with [ON ACCESSIBLE].
    2. Check that the domain you visit matches the domain registered in Manage sites (subdomains allowed).
    3. Confirm site status is ACTIVE — paused sites refuse to load.
    4. If you see a CSP error, add the sources from the Content Security Policy list below (the widget loads from https://cdn.onaccessible.com). A CSP error for an inline script followed by [ON ACCESSIBLE] Missing siteKey in window.onAccessibleConfig means the policy blocked the snippet's config script: allow it with a nonce, its hash or 'unsafe-inline', or use one of the example policies below.
    5. Make sure the snippet is in the page source (View Source) — some caching/CDN layers strip injected scripts.
    6. Disable ad-blockers temporarily to rule out interference.

    Content Security Policy

    If your site sends a Content Security Policy, add these sources. Hosts for tools a site doesn't use (for example dictionary lookup) can be left out.

    The snippet's first tag is a short inline script that sets your site key. Allowing cdn.onaccessible.com in script-src covers only the loader, so also allow the inline config in one of three ways: put your nonce on both snippet tags, add the config script's 'sha256-…' hash, or add 'unsafe-inline' (browsers ignore 'unsafe-inline' when the policy also has a nonce or hash). If the config is blocked, the console shows a Content Security Policy error for an inline script, then "[ON ACCESSIBLE] Missing siteKey in window.onAccessibleConfig", and the widget does not start.

    Content Security Policy sources the widget needs
    DirectiveSourcesUsed for
    script-srchttps://cdn.onaccessible.com, plus for the inline config script one of: your 'nonce-…' (on both snippet tags), its 'sha256-…' hash, or 'unsafe-inline'the widget script (cdn.onaccessible.com/widget.js), and the snippet's first tag: a short inline script that sets your site key. The host alone does not allow that inline script; if it is blocked, the widget logs "Missing siteKey in window.onAccessibleConfig" and does not start. Signed in, this page shows the exact 'sha256-…' hash for each of your sites' snippets. Browsers ignore 'unsafe-inline' when the policy also has a nonce or hash
    connect-srchttps://auth.onaccessible.com https://cdn.onaccessible.com https://api.dictionaryapi.devsite key check, settings, usage events and feedback; AI tools (cdn.onaccessible.com/widget-ai); dictionary lookup
    font-srchttps://fonts.gstatic.com https://cdn.jsdelivr.netthe Lexend and OpenDyslexic reading fonts
    style-src'unsafe-inline'the <style> elements the widget adds, and its inline style attributes. The widget adds them without a nonce, so a style-src that relies on a nonce or hash (which switches 'unsafe-inline' off) leaves the widget unstyled
    img-srcdata: https://www.onaccessible.com https://auth.onaccessible.com, plus the host of a launcher logo address you pasted in the portal (Premium)data: for the custom cursor images, the fallback launcher icon and the still frames shown in place of animated GIFs while animations are paused; www.onaccessible.com for the default launcher button icons; auth.onaccessible.com for a Premium site's launcher logo uploaded in the portal. If you pasted a launcher logo address from another host instead of uploading the logo, add that host to img-src as well; if it is blocked, the widget shows a default icon instead of your logo. Signed in, this page names that host for each of your sites.

    Example policies

    Each example is a complete policy for a page that shows the widget: your own sources ('self') plus what the widget needs. Add your site's other sources. It is shown on several lines for reading; send it as one header line. If you pasted a launcher logo address from another host instead of uploading the logo, add that host to img-src as well; if it is blocked, the widget shows a default icon instead of your logo. Signed in, this page names that host for each of your sites.

    Your site uses a nonce

    Put your page's nonce on both snippet tags (YOUR_NONCE stands for it: a new random value on every response). This also works if your script-src uses 'strict-dynamic'.

    Content-Security-Policy

    default-src 'self';
    script-src 'self' 'nonce-YOUR_NONCE' https://cdn.onaccessible.com;
    connect-src 'self' https://auth.onaccessible.com https://cdn.onaccessible.com https://api.dictionaryapi.dev;
    img-src 'self' data: https://www.onaccessible.com https://auth.onaccessible.com;
    font-src 'self' https://fonts.gstatic.com https://cdn.jsdelivr.net;
    style-src 'self' 'unsafe-inline'

    Snippet

    <!-- ON ACCESSIBLE Widget -->
    <script nonce="YOUR_NONCE">
      window.onAccessibleConfig = { siteKey: "YOUR_SITE_KEY" };
    </script>
    <script nonce="YOUR_NONCE" src="https://cdn.onaccessible.com/widget.js?v=2.10.21" async defer></script>
    Your site uses hashes

    Add the config script's hash ('sha256-YOUR_CONFIG_HASH' stands for it). Signed in, each of your sites above shows its exact hash; Chrome's console error for a blocked inline script also names the hash it expected.

    Content-Security-Policy

    default-src 'self';
    script-src 'self' 'sha256-YOUR_CONFIG_HASH' https://cdn.onaccessible.com;
    connect-src 'self' https://auth.onaccessible.com https://cdn.onaccessible.com https://api.dictionaryapi.dev;
    img-src 'self' data: https://www.onaccessible.com https://auth.onaccessible.com;
    font-src 'self' https://fonts.gstatic.com https://cdn.jsdelivr.net;
    style-src 'self' 'unsafe-inline'

    Snippet

    <!-- ON ACCESSIBLE Widget -->
    <script>
      window.onAccessibleConfig = { siteKey: "YOUR_SITE_KEY" };
    </script>
    <script src="https://cdn.onaccessible.com/widget.js?v=2.10.21" async defer></script>

    Use the snippet exactly as this page shows it: any change to the config script, even its spacing, changes the hash.

    No nonce or hash: move the config to a file

    Save the config line as a file on your own site (for example /onaccessible-config.js) and load it before the loader. 'self' then allows it, so the policy needs no inline-script allowance.

    Content-Security-Policy

    default-src 'self';
    script-src 'self' https://cdn.onaccessible.com;
    connect-src 'self' https://auth.onaccessible.com https://cdn.onaccessible.com https://api.dictionaryapi.dev;
    img-src 'self' data: https://www.onaccessible.com https://auth.onaccessible.com;
    font-src 'self' https://fonts.gstatic.com https://cdn.jsdelivr.net;
    style-src 'self' 'unsafe-inline'

    /onaccessible-config.js on your site

    window.onAccessibleConfig = { siteKey: "YOUR_SITE_KEY" };
    

    Snippet

    <!-- ON ACCESSIBLE Widget -->
    <script src="/onaccessible-config.js"></script>
    <script src="https://cdn.onaccessible.com/widget.js?v=2.10.21" async defer></script>

    Visitors can open and close the widget with Ctrl+U (Cmd+U on Mac). Voice commands use the browser's own speech recognition. See Widget privacy for what each host receives.