meetmage / module-accessibility-checker
Find and fix accessibility problems in Magento 2 for the European Accessibility Act and WCAG: alt text, links, buttons, headings, forms, axe-core page scans and an accessibility statement.
Package info
github.com/meetmage-extensions/magento2-module-accessibility-checker
Type:magento2-module
pkg:composer/meetmage/module-accessibility-checker
Requires
- php: ~8.1.0||~8.2.0||~8.3.0||~8.4.0||~8.5.0
- ext-dom: *
- ext-libxml: *
- magento/framework: ^103.0
- magento/module-backend: *
- magento/module-catalog: *
- magento/module-cms: *
- magento/module-config: *
- magento/module-store: *
Requires (Dev)
- bitexpert/phpstan-magento: ^0.32
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^1.12
- phpunit/phpunit: ^10.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Find and fix accessibility problems in your Magento store, for the European Accessibility Act (EAA) and WCAG. A free alternative to overlay widgets: instead of covering problems up, it shows you exactly where they are in your catalog and content, scans real storefront pages with axe-core, helps you fix the most common one in bulk, and creates the accessibility statement page the EAA asks for.
Tested on Magento Open Source 2.4.9 with Hyvä Theme 1.5 (page scans run on Hyvä and Luma pages).
Why
Since 28 June 2025, the European Accessibility Act requires online stores that sell to consumers in the EU to be accessible, and authorities in several countries have started checking. The usual technical benchmark is WCAG level AA (through the European standard EN 301 549). Small "microenterprises" are exempt for services; check what applies to you.
Overlay widgets don't fix the underlying HTML. Most real problems in a Magento store are in the content: product images without alt text, CMS banners that are images without a description, links that only say "click here", embedded videos without a title. This module finds them.
Features
Content scan
Checks product image labels, product and category descriptions, CMS pages and CMS blocks:
| Rule | WCAG | What it finds |
|---|---|---|
image-alt |
1.1.1 | Images without an alt attribute |
image-alt-meaningless |
1.1.1 | Alt text like "image" or "IMG_0042.jpg" |
product-image-label |
1.1.1 | Product images without a label (Magento then uses the product name for every image) |
link-name |
2.4.4 | Links screen readers can't name (e.g. an image link with empty alt) |
link-generic |
2.4.4 | Links that only say "click here", "read more"… |
button-name |
4.1.2 | Buttons without text or label |
heading-order / empty-heading |
1.3.1 | Skipped heading levels (h2 → h4) and empty headings |
frame-title |
4.1.2 | Iframes (videos, maps) without a title |
table-header |
1.3.1 | Data tables without header cells |
label |
1.3.1 | Form fields without a label |
media-autoplay |
1.4.2 | Video or audio that plays sound automatically |
Every issue links to the product, category, page or block to edit. Download everything as CSV.
Page scans with axe-core
Click Scan: Home page (or a category, product, cart, checkout or any page you add) and the page opens in a new tab with a signed link. The bundled axe-core 4.14 checks it against WCAG 2.0, 2.1 and 2.2 A/AA rules, shows a summary on the page and saves the result in the report, with "How to fix" links for each rule.
axe-core is loaded only for a page opened with that signed link (valid for one hour). Shoppers never load it, and nothing is sent to any outside service.
Fixes
- Fill empty product image labels with the product name ("Trail Backpack", "Trail Backpack, image 2"…). Existing labels are never changed. A short description of each image is better, but this is a fast first step.
- Accessibility statement: fill in your details under the settings and create a draft CMS page
(
/accessibility-statement, created disabled) with conformance status, known limitations, contact details and, if you want, the enforcement authority. Review it, ideally with a legal advisor, then publish it.
Automation
- Weekly content scan by cron (Monday night).
bin/magento meetmage:a11y:scan --fail-on=seriousfor deployment pipelines (exit code 1 when issues of that impact or worse exist).
Limits
Automated tools find a large share of WCAG issues, but not all of them. Keyboard use, focus order, meaningful alt text and many contrast cases need a human. Use this module to find and track problems, and test key journeys (search, product page, cart, checkout) with a keyboard and a screen reader. A clean report is not a legal certification.
Compatibility
| Supported | |
|---|---|
| Magento Open Source / Adobe Commerce | 2.4.6 – 2.4.9 |
| PHP | 8.1 – 8.5 |
| Storefront | Hyvä and Luma (page scans use plain JavaScript) |
Installation
composer require meetmage/module-accessibility-checker bin/magento module:enable MeetMage_AccessibilityChecker bin/magento setup:upgrade bin/magento cache:flush
Then open Content → Elements → Accessibility Checker and click Scan content now.
Configuration
Stores → Configuration → MeetMage → Accessibility Checker
| Setting | Default | Description |
|---|---|---|
| Weekly Scan | Yes | Content scan every Monday night |
| Content to Check | All | Product image labels, product and category descriptions, CMS pages, CMS blocks |
| Allow Page Scans | Yes | axe-core page scans from the report |
| Extra Pages to Offer | – | More storefront paths to scan, one per line |
| Accessibility Statement | – | Company, standard (WCAG 2.1 or 2.2 AA), status, known limitations, contact, authority |
Third-party code
view/frontend/web/js/vendor/axe.min.js is axe-core 4.14.0 by Deque
Systems, unmodified, under the Mozilla Public License 2.0 (see axe-core-LICENSE.txt next to it). The rest of
this module is MIT.
Support
Free and open source (MIT). Bugs and ideas: GitHub issues. Need help fixing what the report finds? Meet Shekhat, freelance Magento developer.
