Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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:

  1. Automated scan: Run axe DevTools browser extension on your homepage, product page, cart, and checkout
  2. WAVE tool: Visit wave.webaim.org and scan your store URL
  3. Keyboard test: Tab through your entire checkout without a mouse — every interactive element must be reachable and operable
  4. 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):

  1. Go to Online Store → Themes → Customize
  2. Set alt text on all images: Products → Media → Edit alt text
  3. Under Theme settings → Typography, ensure font sizes are at least 16px for body text
  4. 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:

  1. Install WP Accessibility (free, wordpress.org) — adds skip navigation links, ARIA landmarks, removes title attributes from links, and fixes form labels
  2. 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
Полный SKILL.md на GitHub

Установить accessibility-commerce в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

claude-code
cursor
gemini-cli
copilot
codex-cli
kiro
opencode

Вложенные файлы

evals/cart-live-region-and-quantity-stepper-ar/criteria.jsonevals/cart-live-region-and-quantity-stepper-ar/task.mdevals/spa-focus-management-modal-focus-trap-an/criteria.jsonevals/spa-focus-management-modal-focus-trap-an/task.mdevals/variant-selector-and-checkout-form-error/criteria.jsonevals/variant-selector-and-checkout-form-error/task.mdtile.json

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), без исполняемых скриптов.

Похожие скиллы

Сравнить accessibility-commerce с