@magento/venia-ui 9.7.0 → 10.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/i18n/en_US.json +23 -2
  2. package/lib/RootComponents/Category/NoProductsFound/noProductsFound.js +1 -1
  3. package/lib/RootComponents/Category/__tests__/__snapshots__/categoryContent.shimmer.spec.js.snap +6 -0
  4. package/lib/components/AccountChip/__tests__/__snapshots__/accountChip.spec.js.snap +3 -0
  5. package/lib/components/AccountChip/accountChip.js +14 -1
  6. package/lib/components/AccountInformationPage/__tests__/__snapshots__/editForm.spec.js.snap +15 -0
  7. package/lib/components/AddressBookPage/__tests__/__snapshots__/addEditDialog.spec.js.snap +28 -0
  8. package/lib/components/App/__tests__/app.spec.js +3 -1
  9. package/lib/components/App/app.js +1 -1
  10. package/lib/components/CartPage/GiftCards/__tests__/__snapshots__/giftCards.spec.js.snap +2 -0
  11. package/lib/components/CartPage/PriceAdjustments/CouponCode/__tests__/__snapshots__/couponCode.spec.js.snap +9 -3
  12. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/__tests__/__snapshots__/shippingForm.spec.js.snap +15 -0
  13. package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/priceSummary.spec.js.snap +0 -2
  14. package/lib/components/CartPage/PriceSummary/priceSummary.js +2 -0
  15. package/lib/components/CartPage/ProductListing/EditModal/__tests__/__snapshots__/productForm.spec.js.snap +4 -0
  16. package/lib/components/CartPage/ProductListing/__tests__/__snapshots__/product.spec.js.snap +6 -0
  17. package/lib/components/CartPage/ProductListing/__tests__/__snapshots__/quantity.spec.js.snap +1 -0
  18. package/lib/components/CategoryTree/categoryBranch.js +1 -1
  19. package/lib/components/CategoryTree/categoryLeaf.js +1 -1
  20. package/lib/components/CategoryTree/categoryTree.js +1 -1
  21. package/lib/components/Checkout/__tests__/__snapshots__/addressForm.spec.js.snap +16 -0
  22. package/lib/components/Checkout/__tests__/__snapshots__/paymentsForm.spec.js.snap +7 -0
  23. package/lib/components/Checkout/section.module.css +0 -1
  24. package/lib/components/CheckoutPage/ItemsReview/__tests__/__snapshots__/itemsReview.spec.js.snap +3 -0
  25. package/lib/components/CheckoutPage/OrderConfirmationPage/__tests__/__snapshots__/createAccount.spec.js.snap +20 -0
  26. package/lib/components/CheckoutPage/OrderConfirmationPage/createAccount.js +16 -0
  27. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/__tests__/__snapshots__/customerForm.spec.js.snap +46 -0
  28. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/__tests__/__snapshots__/guestForm.spec.js.snap +68 -0
  29. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.js +36 -0
  30. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.js +36 -0
  31. package/lib/components/CheckoutPage/__tests__/__snapshots__/checkoutPage.spec.js.snap +1 -1
  32. package/lib/components/CheckoutPage/checkoutPage.js +4 -0
  33. package/lib/components/Country/__tests__/__snapshots__/country.spec.js.snap +2 -0
  34. package/lib/components/CreateAccount/__tests__/__snapshots__/createAccount.spec.js.snap +36 -10
  35. package/lib/components/CreateAccount/createAccount.js +18 -0
  36. package/lib/components/Field/fieldIcons.js +3 -1
  37. package/lib/components/FilterModalOpenButton/filterModalOpenButton.js +12 -2
  38. package/lib/components/ForgotPassword/ForgotPasswordForm/__tests__/__snapshots__/forgotPasswordForm.spec.js.snap +2 -0
  39. package/lib/components/Gallery/__tests__/__snapshots__/gallery.spec.js.snap +2 -0
  40. package/lib/components/Gallery/__tests__/__snapshots__/item.spec.js.snap +3 -0
  41. package/lib/components/Gallery/item.js +1 -0
  42. package/lib/components/Header/__tests__/__snapshots__/accountTrigger.spec.js.snap +1 -1
  43. package/lib/components/Header/accountTrigger.js +12 -5
  44. package/lib/components/Image/placeholderImage.js +1 -0
  45. package/lib/components/LegacyMiniCart/__tests__/__snapshots__/kebab.spec.js.snap +2 -0
  46. package/lib/components/LegacyMiniCart/__tests__/__snapshots__/miniCart.spec.js.snap +3 -0
  47. package/lib/components/LegacyMiniCart/kebab.js +14 -0
  48. package/lib/components/Link/__tests__/link.spec.js +8 -6
  49. package/lib/components/Link/link.js +1 -1
  50. package/lib/components/MiniCart/ProductList/__tests__/__snapshots__/item.spec.js.snap +8 -0
  51. package/lib/components/MiniCart/ProductList/item.js +11 -0
  52. package/lib/components/MyAccount/ResetPassword/__tests__/__snapshots__/resetPassword.spec.js.snap +16 -4
  53. package/lib/components/Newsletter/__tests__/__snapshots__/newsletter.spec.js.snap +2 -0
  54. package/lib/components/OrderHistoryPage/OrderDetails/__tests__/__snapshots__/item.spec.js.snap +1 -0
  55. package/lib/components/OrderHistoryPage/__tests__/__snapshots__/orderHistoryPage.spec.js.snap +13 -0
  56. package/lib/components/OrderHistoryPage/__tests__/__snapshots__/orderRow.spec.js.snap +4 -0
  57. package/lib/components/OrderHistoryPage/__tests__/__snapshots__/resetButton.spec.js.snap +3 -0
  58. package/lib/components/OrderHistoryPage/collapsedImageGallery.js +3 -3
  59. package/lib/components/OrderHistoryPage/orderHistoryPage.js +1 -0
  60. package/lib/components/OrderHistoryPage/orderRow.js +1 -0
  61. package/lib/components/OrderHistoryPage/resetButton.js +13 -2
  62. package/lib/components/PageLoadingIndicator/__tests__/pageLoadingIndicator.spec.js +1 -1
  63. package/lib/components/PageLoadingIndicator/pageLoadingIndicator.js +1 -1
  64. package/lib/components/Password/__tests__/__snapshots__/password.spec.js.snap +13 -3
  65. package/lib/components/Password/password.js +24 -2
  66. package/lib/components/ProductImageCarousel/__tests__/__snapshots__/carousel.spec.js.snap +18 -16
  67. package/lib/components/ProductImageCarousel/__tests__/__snapshots__/thumbnail.spec.js.snap +12 -12
  68. package/lib/components/ProductImageCarousel/__tests__/thumbnail.spec.js +2 -2
  69. package/lib/components/ProductImageCarousel/thumbnail.js +4 -5
  70. package/lib/components/ProductImageCarousel/thumbnail.module.css +0 -1
  71. package/lib/components/ProductOptions/__tests__/__snapshots__/swatch.spec.js.snap +6 -0
  72. package/lib/components/ProductOptions/__tests__/__snapshots__/swatchList.spec.js.snap +1 -0
  73. package/lib/components/ProductOptions/__tests__/swatch.spec.js +2 -1
  74. package/lib/components/ProductOptions/option.js +1 -0
  75. package/lib/components/ProductOptions/swatch.js +5 -2
  76. package/lib/components/ProductOptions/swatchList.js +5 -2
  77. package/lib/components/ProductSort/__tests__/__snapshots__/productSort.spec.js.snap +1 -0
  78. package/lib/components/ProductSort/productSort.js +17 -0
  79. package/lib/components/QuantityStepper/quantityStepper.module.css +0 -2
  80. package/lib/components/Region/__tests__/__snapshots__/region.spec.js.snap +3 -0
  81. package/lib/components/SearchBar/__tests__/__snapshots__/searchField.spec.js.snap +1 -0
  82. package/lib/components/SearchBar/__tests__/__snapshots__/suggestedProduct.spec.js.snap +1 -0
  83. package/lib/components/SearchBar/searchBar.js +6 -1
  84. package/lib/components/SearchBar/searchField.js +4 -2
  85. package/lib/components/SearchPage/__tests__/__snapshots__/searchPage.spec.js.snap +28 -28
  86. package/lib/components/SearchPage/searchPage.js +6 -4
  87. package/lib/components/SignIn/__tests__/__snapshots__/signIn.spec.js.snap +12 -0
  88. package/lib/components/SignIn/signIn.js +10 -0
  89. package/lib/components/Trigger/__tests__/__snapshots__/trigger.spec.js.snap +8 -2
  90. package/lib/components/Trigger/trigger.js +30 -5
  91. package/lib/components/Wishlist/WishlistDialog/CreateWishlistForm/__tests__/__snapshots__/createWishlistForm.spec.js.snap +2 -0
  92. package/lib/components/WishlistPage/__tests__/__snapshots__/createWishlist.ee.spec.js.snap +1 -0
  93. package/lib/components/WishlistPage/__tests__/__snapshots__/wishlistEditFavoritesListDialog.spec.js.snap +4 -0
  94. package/lib/components/WishlistPage/__tests__/__snapshots__/wishlistItem.spec.js.snap +2 -0
  95. package/lib/index.module.css +7 -9
  96. package/package.json +2 -2
@@ -33,6 +33,7 @@ const PriceSummary = props => {
33
33
 
34
34
  const {
35
35
  handleProceedToCheckout,
36
+ handleEnterKeyPress,
36
37
  hasError,
37
38
  hasItems,
38
39
  isCheckout,
@@ -90,6 +91,7 @@ const PriceSummary = props => {
90
91
  disabled={isPriceUpdating}
91
92
  priority={'high'}
92
93
  onClick={handleProceedToCheckout}
94
+ onKeyDown={handleEnterKeyPress}
93
95
  data-cy="PriceSummary-checkoutButton"
94
96
  >
95
97
  <FormattedMessage
@@ -87,6 +87,7 @@ exports[`renders form errors 1`] = `
87
87
  >
88
88
  <img
89
89
  alt="Juno Sweater"
90
+ aria-hidden="true"
90
91
  className="image placeholder"
91
92
  loading="eager"
92
93
  src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0JyBoZWlnaHQ9JzUnPjxyZWN0IHdpZHRoPSc0JyBoZWlnaHQ9JzUnIHN0eWxlPSdmaWxsOiBub25lJyAvPjwvc3ZnPg=="
@@ -269,6 +270,7 @@ https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/media/catalog/produc
269
270
  className="before"
270
271
  />
271
272
  <span
273
+ aria-hidden="false"
272
274
  className="after"
273
275
  />
274
276
  </span>
@@ -455,6 +457,7 @@ exports[`renders form with data 1`] = `
455
457
  >
456
458
  <img
457
459
  alt="Juno Sweater"
460
+ aria-hidden="true"
458
461
  className="image placeholder"
459
462
  loading="eager"
460
463
  src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0JyBoZWlnaHQ9JzUnPjxyZWN0IHdpZHRoPSc0JyBoZWlnaHQ9JzUnIHN0eWxlPSdmaWxsOiBub25lJyAvPjwvc3ZnPg=="
@@ -637,6 +640,7 @@ https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/media/catalog/produc
637
640
  className="before"
638
641
  />
639
642
  <span
643
+ aria-hidden="false"
640
644
  className="after"
641
645
  />
642
646
  </span>
@@ -172,6 +172,7 @@ exports[`renders configurable product with options 1`] = `
172
172
  className="before"
173
173
  />
174
174
  <span
175
+ aria-hidden="false"
175
176
  className="after"
176
177
  />
177
178
  </span>
@@ -224,6 +225,7 @@ exports[`renders configurable product with options 1`] = `
224
225
  >
225
226
  <button
226
227
  aria-expanded={false}
228
+ aria-label="More Options Collapsed"
227
229
  className="kebab"
228
230
  onClick={[Function]}
229
231
  >
@@ -533,6 +535,7 @@ exports[`renders out of stock product 1`] = `
533
535
  className="before"
534
536
  />
535
537
  <span
538
+ aria-hidden="false"
536
539
  className="after"
537
540
  />
538
541
  </span>
@@ -585,6 +588,7 @@ exports[`renders out of stock product 1`] = `
585
588
  >
586
589
  <button
587
590
  aria-expanded={false}
591
+ aria-label="More Options Collapsed"
588
592
  className="kebab"
589
593
  onClick={[Function]}
590
594
  >
@@ -847,6 +851,7 @@ exports[`renders simple product correctly 1`] = `
847
851
  className="before"
848
852
  />
849
853
  <span
854
+ aria-hidden="false"
850
855
  className="after"
851
856
  />
852
857
  </span>
@@ -899,6 +904,7 @@ exports[`renders simple product correctly 1`] = `
899
904
  >
900
905
  <button
901
906
  aria-expanded={false}
907
+ aria-label="More Options Collapsed"
902
908
  className="kebab"
903
909
  onClick={[Function]}
904
910
  >
@@ -75,6 +75,7 @@ exports[`renders quantity correctly 1`] = `
75
75
  className="before"
76
76
  />
77
77
  <span
78
+ aria-hidden="false"
78
79
  className="after"
79
80
  />
80
81
  </span>
@@ -46,5 +46,5 @@ Branch.propTypes = {
46
46
  text: string
47
47
  }),
48
48
  setCategoryId: func.isRequired,
49
- tabIndex: func.isRequired
49
+ tabIndex: string
50
50
  };
@@ -56,6 +56,6 @@ Leaf.propTypes = {
56
56
  text: string
57
57
  }),
58
58
  onNavigate: func.isRequired,
59
- tabIndex: func.isRequired,
59
+ tabIndex: string,
60
60
  categoryUrlSuffix: string
61
61
  };
@@ -66,5 +66,5 @@ Tree.propTypes = {
66
66
  onNavigate: func.isRequired,
67
67
  setCategoryId: func.isRequired,
68
68
  updateCategories: func.isRequired,
69
- tabIndex: func.isRequired
69
+ tabIndex: string
70
70
  };
@@ -57,6 +57,7 @@ exports[`renders an AddressForm component 1`] = `
57
57
  className="before"
58
58
  />
59
59
  <span
60
+ aria-hidden="false"
60
61
  className="after"
61
62
  />
62
63
  </span>
@@ -102,6 +103,7 @@ exports[`renders an AddressForm component 1`] = `
102
103
  className="before"
103
104
  />
104
105
  <span
106
+ aria-hidden="false"
105
107
  className="after"
106
108
  />
107
109
  </span>
@@ -147,6 +149,7 @@ exports[`renders an AddressForm component 1`] = `
147
149
  className="before"
148
150
  />
149
151
  <span
152
+ aria-hidden="false"
150
153
  className="after"
151
154
  />
152
155
  </span>
@@ -192,6 +195,7 @@ exports[`renders an AddressForm component 1`] = `
192
195
  className="before"
193
196
  />
194
197
  <span
198
+ aria-hidden="false"
195
199
  className="after"
196
200
  />
197
201
  </span>
@@ -237,6 +241,7 @@ exports[`renders an AddressForm component 1`] = `
237
241
  className="before"
238
242
  />
239
243
  <span
244
+ aria-hidden="false"
240
245
  className="after"
241
246
  />
242
247
  </span>
@@ -282,6 +287,7 @@ exports[`renders an AddressForm component 1`] = `
282
287
  className="before"
283
288
  />
284
289
  <span
290
+ aria-hidden="false"
285
291
  className="after"
286
292
  />
287
293
  </span>
@@ -327,6 +333,7 @@ exports[`renders an AddressForm component 1`] = `
327
333
  className="before"
328
334
  />
329
335
  <span
336
+ aria-hidden="false"
330
337
  className="after"
331
338
  />
332
339
  </span>
@@ -372,6 +379,7 @@ exports[`renders an AddressForm component 1`] = `
372
379
  className="before"
373
380
  />
374
381
  <span
382
+ aria-hidden="false"
375
383
  className="after"
376
384
  />
377
385
  </span>
@@ -491,6 +499,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
491
499
  className="before"
492
500
  />
493
501
  <span
502
+ aria-hidden="false"
494
503
  className="after"
495
504
  />
496
505
  </span>
@@ -536,6 +545,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
536
545
  className="before"
537
546
  />
538
547
  <span
548
+ aria-hidden="false"
539
549
  className="after"
540
550
  />
541
551
  </span>
@@ -581,6 +591,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
581
591
  className="before"
582
592
  />
583
593
  <span
594
+ aria-hidden="false"
584
595
  className="after"
585
596
  />
586
597
  </span>
@@ -626,6 +637,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
626
637
  className="before"
627
638
  />
628
639
  <span
640
+ aria-hidden="false"
629
641
  className="after"
630
642
  />
631
643
  </span>
@@ -671,6 +683,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
671
683
  className="before"
672
684
  />
673
685
  <span
686
+ aria-hidden="false"
674
687
  className="after"
675
688
  />
676
689
  </span>
@@ -716,6 +729,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
716
729
  className="before"
717
730
  />
718
731
  <span
732
+ aria-hidden="false"
719
733
  className="after"
720
734
  />
721
735
  </span>
@@ -761,6 +775,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
761
775
  className="before"
762
776
  />
763
777
  <span
778
+ aria-hidden="false"
764
779
  className="after"
765
780
  />
766
781
  </span>
@@ -806,6 +821,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
806
821
  className="before"
807
822
  />
808
823
  <span
824
+ aria-hidden="false"
809
825
  className="after"
810
826
  />
811
827
  </span>
@@ -236,6 +236,7 @@ exports[`renders billing address fields if addresses_same checkbox unchecked 1`]
236
236
  className="before"
237
237
  />
238
238
  <span
239
+ aria-hidden="false"
239
240
  className="after"
240
241
  />
241
242
  </span>
@@ -280,6 +281,7 @@ exports[`renders billing address fields if addresses_same checkbox unchecked 1`]
280
281
  className="before"
281
282
  />
282
283
  <span
284
+ aria-hidden="false"
283
285
  className="after"
284
286
  />
285
287
  </span>
@@ -324,6 +326,7 @@ exports[`renders billing address fields if addresses_same checkbox unchecked 1`]
324
326
  className="before"
325
327
  />
326
328
  <span
329
+ aria-hidden="false"
327
330
  className="after"
328
331
  />
329
332
  </span>
@@ -368,6 +371,7 @@ exports[`renders billing address fields if addresses_same checkbox unchecked 1`]
368
371
  className="before"
369
372
  />
370
373
  <span
374
+ aria-hidden="false"
371
375
  className="after"
372
376
  />
373
377
  </span>
@@ -412,6 +416,7 @@ exports[`renders billing address fields if addresses_same checkbox unchecked 1`]
412
416
  className="before"
413
417
  />
414
418
  <span
419
+ aria-hidden="false"
415
420
  className="after"
416
421
  />
417
422
  </span>
@@ -456,6 +461,7 @@ exports[`renders billing address fields if addresses_same checkbox unchecked 1`]
456
461
  className="before"
457
462
  />
458
463
  <span
464
+ aria-hidden="false"
459
465
  className="after"
460
466
  />
461
467
  </span>
@@ -500,6 +506,7 @@ exports[`renders billing address fields if addresses_same checkbox unchecked 1`]
500
506
  className="before"
501
507
  />
502
508
  <span
509
+ aria-hidden="false"
503
510
  className="after"
504
511
  />
505
512
  </span>
@@ -5,7 +5,6 @@
5
5
  composes: w-full from global;
6
6
 
7
7
  composes: focus_bg-gradient-radial from global;
8
- composes: focus_outline-none from global;
9
8
  }
10
9
 
11
10
  .content {
@@ -18,6 +18,7 @@ exports[`Snapshot test 1`] = `
18
18
  >
19
19
  <img
20
20
  alt="Jillian Top"
21
+ aria-hidden="true"
21
22
  className="undefined undefined"
22
23
  loading="eager"
23
24
  src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0JyBoZWlnaHQ9JzUnPjxyZWN0IHdpZHRoPSc0JyBoZWlnaHQ9JzUnIHN0eWxlPSdmaWxsOiBub25lJyAvPjwvc3ZnPg=="
@@ -93,6 +94,7 @@ https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/media/catalog/produc
93
94
  >
94
95
  <img
95
96
  alt="Juno Sweater"
97
+ aria-hidden="true"
96
98
  className="undefined undefined"
97
99
  loading="eager"
98
100
  src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0JyBoZWlnaHQ9JzUnPjxyZWN0IHdpZHRoPSc0JyBoZWlnaHQ9JzUnIHN0eWxlPSdmaWxsOiBub25lJyAvPjwvc3ZnPg=="
@@ -168,6 +170,7 @@ https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/media/catalog/produc
168
170
  >
169
171
  <img
170
172
  alt="Angelina Tank Dress"
173
+ aria-hidden="true"
171
174
  className="undefined undefined"
172
175
  loading="eager"
173
176
  src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0JyBoZWlnaHQ9JzUnPjxyZWN0IHdpZHRoPSc0JyBoZWlnaHQ9JzUnIHN0eWxlPSdmaWxsOiBub25lJyAvPjwvc3ZnPg=="
@@ -46,6 +46,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
46
46
  className="input"
47
47
  >
48
48
  <input
49
+ aria-label="First Name Required"
49
50
  autoComplete="given-name"
50
51
  className="input"
51
52
  id="customer.firstname"
@@ -59,6 +60,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
59
60
  className="before"
60
61
  />
61
62
  <span
63
+ aria-hidden="false"
62
64
  className="after"
63
65
  />
64
66
  </span>
@@ -87,6 +89,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
87
89
  className="input"
88
90
  >
89
91
  <input
92
+ aria-label="Last Name Required"
90
93
  autoComplete="family-name"
91
94
  className="input"
92
95
  id="customer.lastname"
@@ -100,6 +103,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
100
103
  className="before"
101
104
  />
102
105
  <span
106
+ aria-hidden="false"
103
107
  className="after"
104
108
  />
105
109
  </span>
@@ -128,6 +132,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
128
132
  className="input"
129
133
  >
130
134
  <input
135
+ aria-label="Email Required"
131
136
  autoComplete="email"
132
137
  className="input"
133
138
  id="customer.email"
@@ -141,6 +146,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
141
146
  className="before"
142
147
  />
143
148
  <span
149
+ aria-hidden="false"
144
150
  className="after"
145
151
  />
146
152
  </span>
@@ -170,6 +176,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
170
176
  className="input"
171
177
  >
172
178
  <input
179
+ aria-label="Password Required"
173
180
  autoComplete="new-password"
174
181
  className="input"
175
182
  id="password"
@@ -184,6 +191,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
184
191
  className="before"
185
192
  />
186
193
  <span
194
+ aria-hidden="false"
187
195
  className="after"
188
196
  >
189
197
  <button
@@ -191,6 +199,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
191
199
  disabled={false}
192
200
  onClick={[Function]}
193
201
  onDragStart={[Function]}
202
+ onKey={true}
194
203
  onKeyDown={[Function]}
195
204
  onKeyUp={[Function]}
196
205
  onMouseDown={[Function]}
@@ -207,6 +216,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
207
216
  className="content"
208
217
  >
209
218
  <svg
219
+ aria-label="View Password"
210
220
  fill="none"
211
221
  height={24}
212
222
  stroke="currentColor"
@@ -369,6 +379,7 @@ exports[`CreateAccount renders errors 1`] = `
369
379
  className="input"
370
380
  >
371
381
  <input
382
+ aria-label="First Name Required"
372
383
  autoComplete="given-name"
373
384
  className="input"
374
385
  id="customer.firstname"
@@ -382,6 +393,7 @@ exports[`CreateAccount renders errors 1`] = `
382
393
  className="before"
383
394
  />
384
395
  <span
396
+ aria-hidden="false"
385
397
  className="after"
386
398
  />
387
399
  </span>
@@ -410,6 +422,7 @@ exports[`CreateAccount renders errors 1`] = `
410
422
  className="input"
411
423
  >
412
424
  <input
425
+ aria-label="Last Name Required"
413
426
  autoComplete="family-name"
414
427
  className="input"
415
428
  id="customer.lastname"
@@ -423,6 +436,7 @@ exports[`CreateAccount renders errors 1`] = `
423
436
  className="before"
424
437
  />
425
438
  <span
439
+ aria-hidden="false"
426
440
  className="after"
427
441
  />
428
442
  </span>
@@ -451,6 +465,7 @@ exports[`CreateAccount renders errors 1`] = `
451
465
  className="input"
452
466
  >
453
467
  <input
468
+ aria-label="Email Required"
454
469
  autoComplete="email"
455
470
  className="input"
456
471
  id="customer.email"
@@ -464,6 +479,7 @@ exports[`CreateAccount renders errors 1`] = `
464
479
  className="before"
465
480
  />
466
481
  <span
482
+ aria-hidden="false"
467
483
  className="after"
468
484
  />
469
485
  </span>
@@ -493,6 +509,7 @@ exports[`CreateAccount renders errors 1`] = `
493
509
  className="input"
494
510
  >
495
511
  <input
512
+ aria-label="Password Required"
496
513
  autoComplete="new-password"
497
514
  className="input"
498
515
  id="password"
@@ -507,6 +524,7 @@ exports[`CreateAccount renders errors 1`] = `
507
524
  className="before"
508
525
  />
509
526
  <span
527
+ aria-hidden="false"
510
528
  className="after"
511
529
  >
512
530
  <button
@@ -514,6 +532,7 @@ exports[`CreateAccount renders errors 1`] = `
514
532
  disabled={false}
515
533
  onClick={[Function]}
516
534
  onDragStart={[Function]}
535
+ onKey={true}
517
536
  onKeyDown={[Function]}
518
537
  onKeyUp={[Function]}
519
538
  onMouseDown={[Function]}
@@ -530,6 +549,7 @@ exports[`CreateAccount renders errors 1`] = `
530
549
  className="content"
531
550
  >
532
551
  <svg
552
+ aria-label="View Password"
533
553
  fill="none"
534
554
  height={24}
535
555
  stroke="currentColor"
@@ -99,6 +99,10 @@ const CreateAccount = props => {
99
99
  <TextInput
100
100
  field="customer.firstname"
101
101
  autoComplete="given-name"
102
+ aria-label={formatMessage({
103
+ id: 'global.firstNameRequired',
104
+ defaultMessage: 'First Name Required'
105
+ })}
102
106
  data-cy="OrderConfirmationPage-CreateAccount-firstName"
103
107
  validate={isRequired}
104
108
  validateOnBlur
@@ -113,6 +117,10 @@ const CreateAccount = props => {
113
117
  <TextInput
114
118
  field="customer.lastname"
115
119
  autoComplete="family-name"
120
+ aria-label={formatMessage({
121
+ id: 'global.lastNameRequired',
122
+ defaultMessage: 'Last Name Required'
123
+ })}
116
124
  data-cy="OrderConfirmationPage-CreateAccount-lastName"
117
125
  validate={isRequired}
118
126
  validateOnBlur
@@ -127,6 +135,10 @@ const CreateAccount = props => {
127
135
  <TextInput
128
136
  field="customer.email"
129
137
  autoComplete="email"
138
+ aria-label={formatMessage({
139
+ id: 'global.emailRequired',
140
+ defaultMessage: 'Email Required'
141
+ })}
130
142
  data-cy="OrderConfirmationPage-CreateAccount-email"
131
143
  validate={isRequired}
132
144
  validateOnBlur
@@ -147,6 +159,10 @@ const CreateAccount = props => {
147
159
  validatePassword
148
160
  ])}
149
161
  validateOnBlur
162
+ aria-label={formatMessage({
163
+ id: 'global.passwordRequired',
164
+ defaultMessage: 'Password Required'
165
+ })}
150
166
  />
151
167
  <div className={classes.subscribe}>
152
168
  <Checkbox