How to add an accessibility widget to an HTML website

Welcome to AccessiYes! This guide walks you through adding the accessibility widget to a website built with plain HTML. Before you begin: Steps to add the…

Updated

Before you begin:

Steps to add the accessibility widget on an HTML website

Step 1: Open your HTML file

Open the page you want to update, such as index.html, in a code editor.

Step 2: Paste your script

Find the closing </head> tag and paste your AccessiYes script directly above it. Repeat this on every page where the widget should appear, or add it once to a shared header file if your site uses one.

AccessiYes script pasted directly above the closing head tag in index.html

Step 3: Save and upload

Save the file and upload it to your web server, replacing the old version.

Step 4: Verify

Open your website in a new browser tab. The accessibility icon should appear in the position you chose when generating your script.

HTML web page open in a browser with the AccessiYes accessibility icon in the bottom right corner

A widget on its own does not make a site fully legally compliant. Treat it as one part of a wider accessibility effort that includes a WCAG-focused review of your template and content.

See also

Next: Customize your widget settings