carbon-react 123.5.0 → 123.5.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.
@@ -143,7 +143,7 @@ const Button = /*#__PURE__*/React.forwardRef(({
143
143
  buttonType: buttonType,
144
144
  disabled: disabled,
145
145
  destructive: destructive,
146
- role: inSplitButton ? "menu-item" : "button",
146
+ role: inSplitButton ? "menuitem" : "button",
147
147
  type: href ? undefined : "button",
148
148
  iconType: iconType,
149
149
  size: size,
@@ -152,7 +152,7 @@ const Button = /*#__PURE__*/_react.default.forwardRef(({
152
152
  buttonType: buttonType,
153
153
  disabled: disabled,
154
154
  destructive: destructive,
155
- role: inSplitButton ? "menu-item" : "button",
155
+ role: inSplitButton ? "menuitem" : "button",
156
156
  type: href ? undefined : "button",
157
157
  iconType: iconType,
158
158
  size: size,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "123.5.0",
3
+ "version": "123.5.1",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",