How to Install A11yCore on WordPress & WooCommerce (The Lightweight Way)
Don't let heavy plugins slow down your WordPress site. Learn how to install the ultra-lightweight A11yCore widget manually to boost accessibility and keep your PageSpeed scores high.
WordPress powers over 40% of the web, but it’s notorious for "plugin bloat." Installing too many plugins can kill your site speed. That’s whyA11yCoreis designed differently.
While many accessibility plugins add megabytes of data to your page load, A11yCore is a featherweight (approx. 14KB). This guide shows you how to install it directly, bypassing the need for heavy plugin wrappers.
Part 1: Installation Guide
We recommend installing A11yCore using a lightweight "Header and Footer" inserter or directly in your theme. This ensures the code runs only where it needs to.
Step 1: Get Your License Key
Log in to your A11yCore dashboard and copy your uniqueLicense Key.
Step 2: Choose Your Installation Method
Option A: Using "WPCode" or "Insert Headers and Footers" (Easiest)
If you aren't comfortable editing code files, this is the safest method.
- Install the free pluginWPCode(formerly Insert Headers and Footers).
- Go toCode Snippets > Header & Footer.
- Scroll down to theFootersection (Body).
- Paste the A11yCore script (see below).
- ClickSave Changes.
Option B: Editfunctions.php(For Developers)
If you prefer zero extra plugins:
- Go toAppearance > Theme File Editor.
- Select your theme (or child theme) and find
functions.php. - Add this code to the bottom of the file:
function add_a11ycore_widget() {
?>
<!-- A11yCore Accessibility Widget -->
<script type="module">
import A11yCore from 'https://cdn.a11ycore.org/a11ycore/dist/esm/core.js';
A11yCore.init({
licenseKey: 'YOUR_LICENSE_KEY_HERE'
});
</script>
<?php
}
add_action('wp_footer', 'add_a11ycore_widget');
ReplaceYOUR_LICENSE_KEY_HEREwith your actual key.
Part 2: Why Manual Installation is Better
1. Speed, Speed, Speed
Most WordPress accessibility plugins load jQuery, heavy CSS files, and database queries. A11yCore does none of that. By adding the script directly:
- No Database Calls:It runs entirely in the browser.
- Async Loading:It doesn't block your page from rendering.
- Tiny Footprint:It’s 97% smaller than competitors.
2. WooCommerce Compatibility
WooCommerce sites are dynamic. Products change, carts update, and pop-ups appear.
- Live Mutation Observing:A11yCore watches your shop. If a customer opens a "Quick View" modal, we instantly scan and fix it (ensuring focus traps are managed and ARIA labels are added).
- Zero Conflicts:Thanks to ourShadow DOMarchitecture, our buttons and menus won't inherit your theme's CSS, and your checkout page styles won't break our widget.
3. Enterprise-Grade Features for Everyone
Even on a small blog or store, you get enterprise protection:
- Legal Compliance:Meets WCAG 2.2 A/AA standards.
- Flash Protection:Automatically pauses flashing banners or product videos.
- Neuro-inclusive:Helps users with dyslexia or ADHD browse your catalog without distraction.
Part 3: Verify Your Setup
Once installed, visit your homepage. You should see the A11yCore icon.
- Test Key Navigation:Press
Tabon your keyboard. You should see a "Skip to Content" link appear—a hallmark of good accessibility. - Check Performance:Run a Google PageSpeed test. You'll notice A11yCore has practically zero impact on your score.
Make your WordPress site accessible without the bloat.Get your A11yCore license today.