Skip to content

Commit 007391b

Browse files
Update core/src/components/checkbox/checkbox.tsx
Co-authored-by: Brandy Smith <[email protected]>
1 parent e8446ca commit 007391b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/components/checkbox/checkbox.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ export class Checkbox implements ComponentInterface {
266266
const hasLabelContent = el.textContent !== '';
267267
const inputLabelId = inputId + '-lbl';
268268

269-
// The host must be a checkbox role to support Safari's Voice Over accessibility
269+
// The host element must have a checkbox role to ensure proper VoiceOver
270+
// support in Safari for accessibility
270271
return (
271272
<Host
272273
role="checkbox"

0 commit comments

Comments
 (0)