@thecb/components 8.4.11-beta.4 → 8.4.11-beta.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "8.4.11-beta.4",
3
+ "version": "8.4.11-beta.5",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -249,7 +249,7 @@ const FormInput = ({
249
249
  />
250
250
  )}
251
251
  </Box>
252
- <Stack direction="row" justify="space-between" role="alert">
252
+ <Stack direction="row" justify="space-between" aria-live="assertive">
253
253
  {(field.hasErrors && field.dirty) || (field.hasErrors && showErrors) ? (
254
254
  <Text
255
255
  color={ERROR_COLOR}
@@ -84,7 +84,7 @@ const AddressForm = ({
84
84
  showErrors={showErrors}
85
85
  onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
86
86
  autocomplete="address-line2"
87
- aria-label="address line 2"
87
+ aria-label="Apt, Suite, Unit, Floor, etc. (Optional)"
88
88
  />
89
89
  <FormInput
90
90
  labelTextWhenNoError="City"