Linux 软件免费装
Banner图

Accent-On Accessible Swatches for WooCommerce

开发者 conlaccento
更新时间 2026年8月24日 21:50
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

woocommerce accessibility wcag variations swatches

下载

1.0.0

详情介绍:

Accent-On Accessible Swatches for WooCommerce replaces the default WooCommerce variation dropdowns with color, image, and text swatches that are accessible out of the box. Unlike other swatch plugins, it is built on semantic HTML (<fieldset> + <input type="radio">) instead of <div> elements patched with JavaScript. The swatches work without custom ARIA, are operable from the keyboard, and are announced correctly by screen readers. The result: Features

安装:

  1. Upload the accent-on-accessible-swatches-for-woocommerce folder to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate the plugin from the Plugins menu in WordPress.
  3. Set a color or image per option under Products → Attributes, then Configure terms for the attribute (e.g. a color per "Color" term). Options with no color or image render as accessible text swatches.
  4. Adjust the global shape and size under WooCommerce → Settings → Accessible Swatches.
  5. That's it — swatches replace the dropdowns automatically on all variable product pages.

屏幕截图:

  • Keyboard navigation — focus indicator visible on a swatch.
  • Global shape and size settings under WooCommerce → Settings.
  • Setting a swatch color on a product attribute term.

升级注意事项:

1.0.0 Initial release.

常见问题:

Does this work with my theme?

Yes. The plugin hooks into WooCommerce's standard variation system and does not modify theme templates. It has been tested with Storefront, Astra, Kadence, Blocksy, and the default block themes (e.g. Twenty Twenty-Five).

Will it break my existing products?

No. The plugin replaces the dropdown UI on the frontend only. All product data, variations, and prices remain unchanged. Deactivating the plugin restores the default dropdowns.

Is it compatible with WooCommerce HPOS?

Yes, the plugin is compatible with WooCommerce High-Performance Order Storage.

What does "WCAG 2.2 AA compliant" mean for my store?

It means your variation swatches meet the Web Content Accessibility Guidelines 2.2 at Level AA — the standard required by the European Accessibility Act (EAA) for EU e-commerce and referenced by ADA Title III case law in the USA. Note that a fully accessible store requires more than accessible swatches; this plugin makes the variation selector — one commonly-failing component — compliant.

更新日志:

1.0.0