Skip to content

Commit 634e5bc

Browse files
committed
fix(checkbox): indicator text present in aria text
1 parent 5b14cc5 commit 634e5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit-headless/src/components/checkbox/checkbox-indicator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const CheckboxIndicator = component$<CheckboxIndicatorProps>((props) => {
77
const checkSig = useContext(CheckboxContext);
88
return (
99
<div {...props}>
10-
<div class={checkSig.value === true ? 'visible' : 'invisible'}>
10+
<div class={checkSig.value === true ? 'visible' : 'invisible'} aria-hidden="true">
1111
<Slot />
1212
</div>
1313
</div>

0 commit comments

Comments
 (0)