@thecb/components 8.4.11-beta.2 → 8.4.11-beta.3
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.
package/package.json
CHANGED
|
@@ -65,6 +65,7 @@ const AddressForm = ({
|
|
|
65
65
|
}}
|
|
66
66
|
showErrors={showErrors}
|
|
67
67
|
aria-label="country"
|
|
68
|
+
aria-role="listbox"
|
|
68
69
|
/>
|
|
69
70
|
<FormInput
|
|
70
71
|
labelTextWhenNoError="Address"
|
|
@@ -74,7 +75,7 @@ const AddressForm = ({
|
|
|
74
75
|
fieldActions={actions.fields.street1}
|
|
75
76
|
showErrors={showErrors}
|
|
76
77
|
onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
|
|
77
|
-
|
|
78
|
+
autocomplete="address-line1"
|
|
78
79
|
aria-label="address line 1"
|
|
79
80
|
/>
|
|
80
81
|
<FormInput
|
|
@@ -83,7 +84,7 @@ const AddressForm = ({
|
|
|
83
84
|
fieldActions={actions.fields.street2}
|
|
84
85
|
showErrors={showErrors}
|
|
85
86
|
onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
|
|
86
|
-
|
|
87
|
+
autocomplete="address-line2"
|
|
87
88
|
aria-label="address line 2"
|
|
88
89
|
/>
|
|
89
90
|
<FormInput
|
|
@@ -94,7 +95,7 @@ const AddressForm = ({
|
|
|
94
95
|
fieldActions={actions.fields.city}
|
|
95
96
|
showErrors={showErrors}
|
|
96
97
|
onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
|
|
97
|
-
|
|
98
|
+
autocomplete="city"
|
|
98
99
|
aria-label="city"
|
|
99
100
|
/>
|
|
100
101
|
<StateProvinceDropdown
|
|
@@ -119,7 +120,7 @@ const AddressForm = ({
|
|
|
119
120
|
showErrors={showErrors}
|
|
120
121
|
onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
|
|
121
122
|
aria-label="zip code"
|
|
122
|
-
|
|
123
|
+
autocomplete="postal-code"
|
|
123
124
|
/>
|
|
124
125
|
{showWalletCheckbox && (
|
|
125
126
|
<Checkbox
|