accessibility-commerce
БесплатноБез исполняемых скриптовНе проверенMake your store usable by everyone with WCAG 2.1 AA compliance — screen reader support, keyboard navigation, and accessible cart and checkout flows
от finsilabs★ 69 звёзд на GitHubОб этом скилле
Accessibility for E-commerce
Overview
WCAG 2.1 Level AA compliance covers screen reader announcements for dynamic cart updates, keyboard navigation for interactive components (carousels, quantity steppers, modals), focus management, and color contrast requirements. Accessible stores reduce legal risk under ADA, AODA, and EAA, and typically convert better across all users.
When to Use This Skill
- When an accessibility audit reveals WCAG violations blocking legal compliance (ADA, AODA, EAA)
- When screen reader users report inability to complete purchases
- When keyboard-only users cannot navigate the checkout flow
- When automated tools (axe, WAVE) surface critical issues that need remediation
- When building a new storefront and baking in accessibility from the start
Core Instructions
Step 1: Determine the merchant's platform and choose the right approach
| Platform | Recommended Approach | Why |
|---|---|---|
| Shopify | Use a WCAG-compliant theme (Dawn, Sense) from the Theme Store; install AccessiBe or EqualWeb app for automated overlays; edit Liquid for custom fixes | Shopify's built-in themes have improved a11y significantly; theme editor + Liquid edits handle most issues |
| WooCommerce | Choose an accessible theme (Astra, Kadence); install WP Accessibility plugin (free) for skip links, ARIA roles, and form labels | WP Accessibility adds critical fixes without code; Gutenberg blocks have reasonable built-in accessibility |
| BigCommerce | Use Cornerstone theme (most accessible); enable the built-in accessibility checker in the Theme Editor; install ADA accessibility apps from the marketplace | Cornerstone meets most WCAG AA requirements out of the box |
| Custom / Headless | Implement ARIA patterns manually using the techniques in Step 4; test with NVDA+Firefox and VoiceOver+Safari | Full control requires full responsibility — use the component patterns below |
Step 2: Run an accessibility audit
Before making changes, identify what needs fixing:
- Automated scan: Run axe DevTools browser extension on your homepage, product page, cart, and checkout
- WAVE tool: Visit wave.webaim.org and scan your store URL
- Keyboard test: Tab through your entire checkout without a mouse — every interactive element must be reachable and operable
- Screen reader test: Test with VoiceOver (Mac/iOS) or NVDA (Windows/Firefox) — navigate your product listing and complete a purchase
Common issues found on most stores:
- Images without meaningful alt text
- Color-only indicators (e.g., red "out of stock" with no text)
- Form fields without labels
- Modals that don't trap focus or respond to Escape
- Add-to-cart buttons that don't announce success to screen readers
Step 3: Platform-specific fixes
Shopify
Theme-level fixes (no code required):
- Go to Online Store → Themes → Customize
- Set alt text on all images: Products → Media → Edit alt text
- Under Theme settings → Typography, ensure font sizes are at least 16px for body text
- Enable Skip to content link in Header settings (available in Dawn and most modern themes)
Liquid code fixes for custom themes:
Add ARIA live region for cart updates — edit your cart-notification.liquid or equivalent snippet:
<div aria-live="polite" aria-atomic="true" class="sr-only" id="cart-live-region">
{{ cart.item_count }} items in cart
</div>
For color swatches in variant selectors, wrap in a <fieldset> with <legend>:
<fieldset>
<legend>{{ option.name }}: <span>{{ selected_value }}</span></legend>
{% for value in option.values %}
<label class="swatch {% if forloop.first %}selected{% endif %}">
<input type="radio" name="{{ option.name }}" value="{{ value }}"
{% if value == selected_value %}checked{% endif %} />
<span class="sr-only">{{ value }}</span>
<span class="swatch-color" style="background-color: {{ value | downcase }}" aria-hidden="true"></span>
</label>
{% endfor %}
</fieldset>
App options:
- AccessiBe (Shopify App Store, ~$49/mo) — automated WCAG 2.1 AA overlay; adds screen reader adjustments and keyboard navigation without theme edits
- EqualWeb — similar overlay approach with a free tier
WooCommerce
Plugin-based fixes:
- Install WP Accessibility (free, wordpress.org) — adds skip navigation links, ARIA landmarks, removes title attributes from links, and fixes form labels
- Install Accessibility Suite for WooCommerce — adds ARIA labels to cart and checkout elements automatically
Theme-based fixes:
- Use Astra or Kadence theme — both have strong WCAG AA coverage built in
- In Appearance → Customize → Typography, set base font size to 16px minimum
Manual fixes for WooCommerce checkout fields — add to your child theme's functions.php:
// Assoc
Установить accessibility-commerce в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
claude-codecursorgemini-clicopilotcodex-clikiroopencodeВложенные файлы
FAQ
Что делает скилл accessibility-commerce?
Make your store usable by everyone with WCAG 2.1 AA compliance — screen reader support, keyboard navigation, and accessible cart and checkout flows
Как установить скилл accessibility-commerce?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл accessibility-commerce запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic