What makes a Shopify variant selector accessible?
An accessible variant selector uses real controls with programmatic names, exposes selected and unavailable states, supports predictable keyboard movement, and announces changes in price, image, and inventory. Color swatches need text labels. A customer using a screen reader must be able to identify every option and know which one is active before adding the product.
Swatches need names and state
A colored circle is not meaningful to software. Use a radio group or buttons with text alternatives such as Navy and Medium, and expose selected, disabled, and unavailable states in markup rather than color alone.
Dynamic changes must be announced
When an option changes price or availability, update a live status message without stealing focus. The add button must reflect the selected variant and remain operable without a mouse or touch gesture.