Skip to main contentOpen accessibility widget
Development

How to Integrate the EaseAccess24 Widget into Your Astro Framework Website

Steps to set up and use the EaseAccess24 accessibility widget in Astro.

Author avatar

Petar Hristovski

Author

An Astro logo above a dark code block showing an example script tag for integrating the EaseAccess24 widget with an embed key.

Introduction

EaseAccess24 widget is an accessibility widget that helps you make your website more inclusive and user-friendly.

In this guide, you’ll learn how to set up the widget, get your Embed Key, and correctly integrate it into your website — including the required setup for the Astro Framework.

Step 1: Log In to EaseAccess24

Go to app.easeaccess24.com and log in with your account.

If you don’t have an account yet, register and sign in.

Step 2: Complete the Payment Process

Before you can use the widget, you need to finish the payment process inside your dashboard.

Once the payment is confirmed, you’ll gain access to the integration features.

Step 3: Add Your Domain

Navigate to the “Integrate” page in the EaseAccess24 dashboard.

There, enter the domain where you will use the widget (for example: `yourwebsite.com`).

This step is required so the widget works only on authorized domains.

Step 4: Copy Your Embed Key

After adding your domain, the system will generate your Embed Key.

Copy this key — you’ll need it in the script below.

Step 5: Add the Widget Script

Paste the following script into the <head></head> section of your website:

<!-- EaseAccess24 Widget -- >

<script

is:inline

src="https://widget.easeaccess24.com/sdk.js?key={YourEmbedKey}">

&lt;/script&gt; <br/> <br/> Now replace {YourEmbedKey} with your actual key. Example:

<br/> &lt;!-- EaseAccess24 Widget -- &gt; <br/> &lt;script is:inline src="https://widget.easeaccess24.com/sdk.js?key=abcABC1234"&gt; &lt;/script&gt;

In Astro, when you load an external script using the src="" attribute, you must include the is:inline attribute.

Why?

Because Astro tries to optimize and bundle scripts automatically.

External scripts with src cannot be optimized, so Astro requires is:inline to understand:

“Keep this script exactly as it is. Don’t move it, don’t transform it — include it directly in the HTML.”

Without is:inline, the script will not load in Astro.

Example: Adding the Widget in BaseLayout.astro

Here’s how to place the widget in your Astro layout:

&lt;html lang="en"&gt;

&lt;head&gt;

&lt;!-- EaseAccess24 Widget --&gt;

&lt;script

is:inline

src="https://widget.easeaccess24.com/sdk.js?key=abcABC1234"&gt;

&lt;/script&gt;

&lt;!-- Your other head elements here --&gt;

&lt;meta charset="UTF-8" /&gt;

&lt;meta name="viewport" content="width=device-width, initial-scale=1" /&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;slot /&gt;

&lt;/body&gt;

&lt;/html&gt; <br/> Just replace the example key (abcABC1234) with your actual Embed Key.

Conclusion

Integrating the EaseAccess24 widget is straightforward:

  1. Log in
  2. Complete payment
  3. Add your domain
  4. Copy your Embed Key
  5. Insert the script into your HTML
  6. (For Astro) Remember to use is:inline

Once installed, the widget will automatically appear and enhance your site with powerful accessibility features.

If you want to customize or style the widget further, you can explore more options in the EaseAccess24 dashboard in the "Customise" page.

Happy building! 🚀

Share this post

You might also like

Two more articles worth reading while this topic is still fresh.

joomla integration cover banner

How to Integrate the EaseAccess24 Widget into Your Joomla Website

EaseAccess24 helps make your Joomla website more accessible.

Umbraco integration cover banner

How to Install the EaseAccess24 Accessibility Widget on Umbraco

EaseAccess24 helps make your Umbraco website more accessible.