Skip to content

Commit 04174da

Browse files
committed
fix(checkbox): fix safari voice over not recognizing ion-checkbox as a checkbox
1 parent 0f23526 commit 04174da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/components/checkbox/checkbox.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ export class Checkbox implements ComponentInterface {
255255

256256
return (
257257
<Host
258+
role="checkbox"
258259
aria-checked={indeterminate ? 'mixed' : `${checked}`}
259260
aria-describedby={this.getHintTextID()}
260261
aria-invalid={this.getHintTextID() === this.errorTextId}

0 commit comments

Comments
 (0)