@moda/om 21.6.5 → 21.6.6

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
@@ -7508,19 +7508,17 @@ var Checkbox = function Checkbox(_ref) {
7508
7508
  }, [onChange, checked]);
7509
7509
  return /*#__PURE__*/React__default.createElement("label", {
7510
7510
  htmlFor: id,
7511
- tabIndex: 0,
7512
7511
  className: classNames('Checkbox', className, {
7513
7512
  'Checkbox--disabled': disabled
7514
7513
  }),
7515
7514
  "data-test-id": dataTestId && "".concat(dataTestId, "--label")
7516
7515
  }, /*#__PURE__*/React__default.createElement("span", {
7517
- tabIndex: -1,
7516
+ "aria-hidden": "true",
7518
7517
  className: classNames('Checkbox__indicator', {
7519
7518
  'Checkbox__indicator--disabled': disabled
7520
7519
  })
7521
7520
  }, isChecked && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, checkIcon === 'checkmark' && /*#__PURE__*/React__default.createElement(Checkmark16, CHECKED_ITEM_PROPS), checkIcon === 'circle' && /*#__PURE__*/React__default.createElement(Circle12, CHECKED_ITEM_PROPS))), /*#__PURE__*/React__default.createElement("input", _extends$1({
7522
7521
  id: id,
7523
- tabIndex: -1,
7524
7522
  className: "Checkbox__input",
7525
7523
  type: "checkbox",
7526
7524
  checked: isChecked,