Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Commit de88ac2

Browse files
authored
Fix #8022: MultiStateCheckbox remove unnecessary ARIA (#8025)
1 parent 3f87c1d commit de88ac2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

components/lib/multistatecheckbox/MultiStateCheckbox.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ export const MultiStateCheckbox = React.memo(
154154
const ariaProps = ObjectUtils.reduceKeys(otherProps, DomHandler.ARIA_PROPS);
155155
const icon = createIcon();
156156
const ariaValueLabel = selectedOption ? getOptionAriaLabel(selectedOption) : ariaLabel('nullLabel');
157-
const ariaChecked = selectedOption ? 'true' : 'false';
158157

159158
const rootProps = mergeProps(
160159
{
@@ -177,8 +176,6 @@ export const MultiStateCheckbox = React.memo(
177176
onFocus: onFocus,
178177
onBlur: onBlur,
179178
onKeyDown: onKeyDown,
180-
role: 'checkbox',
181-
'aria-checked': ariaChecked,
182179
onChange: onClick,
183180
checked: !!selectedOption,
184181
disabled: props?.disabled,

0 commit comments

Comments
 (0)