Download for Google Chrome (opens in a new tab)
Download for Edge (opens in a new tab)
Download for Firefox (opens in a new tab)Newsletter
New laws and deadlines, court rulings, enforcement and WCAG changes. A short summary once a week, and an e-mail straight away when something important happens. Unsubscribe at any time.
The accessibility widget in your Shopify store without installing an app: you paste the script into a Custom Liquid section of the theme.
Code to paste, nothing to install
The integration is a short script with your site token. You paste it in the theme editor (Sales channels → Online Store → Edit theme), into a Custom Liquid section, and save. The store needs no app from the Shopify App Store for it.
Visitors open the widget with its button and adjust the page to their needs:
The code carries only the site token. The widget's look, the accessibility options and the accessibility statement are set in your DockAccess account, so changing them never means editing the code again.
The widget collects no personal data of visitors. Only the IP address and the user agent are recorded to count views.
Copy the site token from My sites in your DockAccess account and paste it below. No site yet? Add one.
The code in the next steps fills in with this token.
In the Shopify admin, go to Sales channels → Online Store and click Edit theme at the active theme.
Click Add section and choose the Custom Liquid block.
Paste the code below into the Custom Liquid field. It contains the token you pasted above.
<script> (function (d, s, t) { var f = d.getElementsByTagName(s)[0], j = d.createElement(s); j.async = true; j.src = '//dockaccess.org/accessibility/' + t + '/start.js'; f.parentNode.insertBefore(j, f); })(document, 'script', 'SITE_TOKEN'); </script>
Save the changes, open the shop and check that the accessibility widget button is visible.
The widget appears on every page that shows the section with the script. Visitors open it with its button or with Ctrl + U, and the widget remembers their choices on the next visit.
In your DockAccess account, pick the site in My sites and open its Accessibility widget tab. There you set the colours, the position and size of the button (also separately for narrow screens), the maximum zoom, the features and profiles on offer, your own selectors and the accessibility statement. The preview shows a change before you save it, and the script does not have to be installed again.
The widget works on the domains of the site in your account, so add every address the website runs under. The free plan covers 5,000 widget views a month for all the sites of the account. Once they are used up, the widget does not show until the 1st of the next month or until a plan with a higher limit is active.
A section added to one template, for example the home page, works only on the pages of that template. For the widget on every page of the store, add the section to the footer of the theme, which all the templates share.
Module for Magento 2.4.4+, Adobe Commerce and Mage-OS
Let your visitors adapt the website to their needs: contrast, text size, reading aloud and ready-made profiles.
See the installationFree up to 5,000 views a month.