@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.cjs.js
CHANGED
|
@@ -19169,7 +19169,9 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
19169
19169
|
"aria-label": name,
|
|
19170
19170
|
checked: checked,
|
|
19171
19171
|
onChange: onChange,
|
|
19172
|
-
tabIndex: "-1"
|
|
19172
|
+
tabIndex: "-1",
|
|
19173
|
+
"aria-invalid": error,
|
|
19174
|
+
"aria-describedby": "".concat(name, "-error-message")
|
|
19173
19175
|
}), /*#__PURE__*/React__default.createElement(StyledCheckbox, {
|
|
19174
19176
|
error: error,
|
|
19175
19177
|
disabled: disabled,
|