How to install the accessibility widget in PrestaShop

The DockAccess Accessibility Widget module (formerly Assist For WCAG) adds the accessibility widget to every page of your PrestaShop shop (1.7.7 or later, 8.x and 9.x). Once connected to your DockAccess account, it shows in the back office whether the widget works, your plan and how many widget views were used this month. The look of the widget, its accessibility options and the accessibility statement are set in your DockAccess account, on the Accessibility widget tab of the site.

Installing the module

Step 1: Add the site and copy its token

  1. Create an account or sign in. No DockAccess account yet? Register (opens in a new tab) using Google, Facebook, GitHub or your own e-mail address and password. Already have one? Sign in (opens in a new tab).

  2. Open your list of sites. In the account menu choose “My sites” (opens in a new tab) and click “Add site” (opens in a new tab).

  3. Enter the address of your site. In the “Domain” field enter the address of the site where you want to use DockAccess, e.g. example.com. The www version works automatically, there is no need to add it. Separate several different domains with commas. Click “Add site”. The address cannot be changed later: for another domain you add a new site. Read more about domains in the documentation (opens in a new tab).

  4. Copy the token. The configuration of the new site opens. Click the copy icon in the “Your token” field.

You can also find the token of every site later in “My sites”, under the address of the site, with a copy icon.

Step 2: Install the module

Download the module (assistforwcag.zip). In the PrestaShop back office, go to Modules → Module Manager, click Upload a module and choose the file, or drop it into the window. The installation starts by itself; when it ends, click Configure.

Step 3: Connect the shop with your DockAccess account

In the module settings, paste the site token, enter the e-mail address (or user name) and the password of your DockAccess account and click Connect.

DockAccess checks that the token belongs to your account and that the address of the shop is one of the site's domains. The password is used only for this one connection and the module does not store it. The account must have a confirmed e-mail address.

If the module says that the shop address is not one of the site's domains, add it in the site settings on the My sites list and connect again.

Step 4: Check that the widget works

After connecting, the module settings show:

  • whether the widget works in your shop (it shows as working after the first visits),
  • your plan and the widget views this month, counted together for all sites of the account,
  • links to the widget settings and to the list of sites in your DockAccess account.

The module refreshes the status once a day, when the back office is opened. The Refresh the status button gets it straight away. Finally, open your shop in a browser and check that the accessibility widget button is visible.

Updating from version 1.x

After the update to version 2.0, the widget keeps working with the token saved before. Connect the shop with your account (step 3) to see its status and plan in the back office.

Disconnecting

The Disconnect button in the module settings ends the connection with your DockAccess account. The widget keeps working in the shop. To see its status again, connect the shop again. Uninstalling the module disconnects the shop as well.

You can also add the widget without the module, with the code from the script documentation pasted into the theme.

Related posts

Still looking for answers?

Ask our experts using online chat

Contact us

Newsletter

Accessibility news straight to your inbox

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.

  • Important changes straight away, the rest in a weekly summary
  • New laws and compliance deadlines
  • Court rulings and enforcement actions
  • Changes to WCAG and other standards

Choose nothing to get everything. Pick categories if you only want some of them.