@thecb/components 6.1.0 → 6.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -124,6 +124,8 @@ const Checkbox = ({
124
124
  checked={checked}
125
125
  onChange={onChange}
126
126
  tabIndex="-1"
127
+ aria-invalid={error}
128
+ aria-describedby={`${name}-error-message`}
127
129
  />
128
130
  <StyledCheckbox
129
131
  error={error}