Skip to content

Commit dbb321b

Browse files
committed
fix(checkbox): add aria attributes to ignore checkbox icon
1 parent e5ed8a1 commit dbb321b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/checkbox/checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ export class Checkbox implements ComponentInterface {
328328
{this.renderHintText()}
329329
</div>
330330
<div class="native-wrapper">
331-
<svg class="checkbox-icon" viewBox="0 0 24 24" part="container">
331+
<svg class="checkbox-icon" viewBox="0 0 24 24" part="container" aria-hidden="true" role="presentation">
332332
{path}
333333
</svg>
334334
</div>

0 commit comments

Comments
 (0)