@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.cjs.js CHANGED
@@ -7528,19 +7528,17 @@ var Checkbox = function Checkbox(_ref) {
7528
7528
  }, [onChange, checked]);
7529
7529
  return /*#__PURE__*/React.createElement("label", {
7530
7530
  htmlFor: id,
7531
- tabIndex: 0,
7532
7531
  className: classNames('Checkbox', className, {
7533
7532
  'Checkbox--disabled': disabled
7534
7533
  }),
7535
7534
  "data-test-id": dataTestId && "".concat(dataTestId, "--label")
7536
7535
  }, /*#__PURE__*/React.createElement("span", {
7537
- tabIndex: -1,
7536
+ "aria-hidden": "true",
7538
7537
  className: classNames('Checkbox__indicator', {
7539
7538
  'Checkbox__indicator--disabled': disabled
7540
7539
  })
7541
7540
  }, isChecked && /*#__PURE__*/React.createElement(React.Fragment, null, checkIcon === 'checkmark' && /*#__PURE__*/React.createElement(Checkmark16, CHECKED_ITEM_PROPS), checkIcon === 'circle' && /*#__PURE__*/React.createElement(Circle12, CHECKED_ITEM_PROPS))), /*#__PURE__*/React.createElement("input", _extends$1({
7542
7541
  id: id,
7543
- tabIndex: -1,
7544
7542
  className: "Checkbox__input",
7545
7543
  type: "checkbox",
7546
7544
  checked: isChecked,