Skip to content

Commit e7a70de

Browse files
authored
chore(checkbox): moving comment out of render so it doesn't end up in the DOM
1 parent dbc7d7a commit e7a70de

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/src/components/checkbox/checkbox.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +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
269270
return (
270-
/*
271-
The host must be a checkbox role to support Safari's Voice Over accessibility
272-
*/
273271
<Host
274272
role="checkbox"
275273
aria-checked={indeterminate ? 'mixed' : `${checked}`}

0 commit comments

Comments
 (0)