The ADA Okay! widget is a single script. You add one line of code to your website and a blue accessibility button appears at the edge of every page. This guide walks through the install and the checks to run afterwards.
Step 1: copy your code
Go to the free widget page, choose the language, the side of the screen and the button colour, and copy the code. It looks like this:
<script src="https://www.adaokay.com/widget/adaokay.js" data-lang="en" data-position="left" defer></script>
There is no sign-up step and no licence key. The same code works on any number of pages.
Step 2: paste it into your website
The code goes just before the closing </body> tag of every page. Where you do that depends on your platform:
- Plain HTML: paste it into your shared footer file or into each page.
- WordPress and WooCommerce: use a header and footer code plugin and choose the footer location, or add it to your child theme's footer file.
- Shopify: Online Store, Themes, Edit code, then
theme.liquid. - Wix: Settings, Custom Code, Add Custom Code, placed at "Body - end" on all pages.
- Squarespace: Settings, Advanced, Code Injection, Footer.
- Webflow: Site settings, Custom code, Footer code, then publish.
- Google Tag Manager: a Custom HTML tag on the All Pages trigger, using the tag manager version of the code.
The widget page has fuller instructions for each platform, plus Joomla, Drupal, BigCommerce, Weebly and Blogger.
Step 3: test it
- Reload your website. The button should sit at the edge of the screen. If it does not, clear your site cache and check that the code is inside the
body. - Press Alt + Shift + A. The panel should open, and Escape should close it.
- Switch on each tool once: text reader, keyboard navigation, the three contrast modes, font size and the highlighters.
- Reload the page. Your choices should still be applied, because the widget remembers them in the browser.
- Choose "Reset all" and confirm the page returns to normal.
Settings you can change
| Attribute | Values | Default |
|---|---|---|
data-lang | en, es, de, fr, nl, ru, it, pt, pl | The language of your page, or English |
data-position | left, right | left |
data-offset | A height such as 20%, 50% or 80% | 80% |
data-color | A hex colour such as #1876c9 | #1876c9 |
data-statement | The address of your accessibility statement | None |
If your website has a content security policy
Add https://www.adaokay.com to the script-src directive. The widget loads no other files, fonts or images, and it makes no network requests after it loads.
After the install
The widget gives your visitors tools. It does not change your code. Run the keyboard checklist, review your alt text and read what widgets can and cannot do to plan the rest of the work.