@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/dist/index.esm.js
CHANGED
|
@@ -19161,7 +19161,9 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
19161
19161
|
"aria-label": name,
|
|
19162
19162
|
checked: checked,
|
|
19163
19163
|
onChange: onChange,
|
|
19164
|
-
tabIndex: "-1"
|
|
19164
|
+
tabIndex: "-1",
|
|
19165
|
+
"aria-invalid": error,
|
|
19166
|
+
"aria-describedby": "".concat(name, "-error-message")
|
|
19165
19167
|
}), /*#__PURE__*/React.createElement(StyledCheckbox, {
|
|
19166
19168
|
error: error,
|
|
19167
19169
|
disabled: disabled,
|