Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Qty selector #247

Merged
merged 6 commits into from Oct 8, 2014
Merged

Qty selector #247

merged 6 commits into from Oct 8, 2014

Conversation

cshold
Copy link
Contributor

@cshold cshold commented Sep 30, 2014

Update to the qty selector for added keyboard accessibility and clarity.

  • Remove "x" from quantity selector in the cart (and ajax cart)
  • Quantity add/remove buttons are now button elements, rather than spans so they are added to the tab index
  • Removed unneeded inline svg backgrounds for –/+ icons in favour of unicode text
  • Centered quantity selector in the cart layout

Demo here

cc/ @stevebosworth @shopify/fed

@@ -28,9 +28,9 @@
<div class="grid">
<div class="grid-item one-third">
<div class="ajaxifyCart--qty">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment above. Maybe switch to ajaxify-cart__qty?

cshold added a commit that referenced this pull request Oct 8, 2014
@cshold cshold merged commit b21461f into i18n Oct 8, 2014
@cshold cshold deleted the qty-selector branch October 8, 2014 13:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants