From e9e6605862a05a46d26c26a144ed1cf22133a2b7 Mon Sep 17 00:00:00 2001 From: Shane Date: Mon, 18 Aug 2025 07:15:20 -0700 Subject: [PATCH] fix(checkbox): add aria attributes to ignore checkbox icon (#30633) Issue number: resolves #30231 --------- ## What is the current behavior? Currently, if you're using voiceover on Chrome or Firefox, you can navigate the checkbox in such a way that it announces the checkbox image, which provides no context to what you're actually selecting. ## What is the new behavior? With this change, you can no longer select the checkbox image. ## Does this introduce a breaking change? - [ ] Yes - [X] No ## Other information [Screen](https://ionic-framework-git-ionic-56-ionic1.vercel.app/src/components/checkbox/test/basic) --------- Co-authored-by: Brandy Smith --- core/src/components/checkbox/checkbox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/checkbox/checkbox.tsx b/core/src/components/checkbox/checkbox.tsx index 4a9132665f..00a9de5c7c 100644 --- a/core/src/components/checkbox/checkbox.tsx +++ b/core/src/components/checkbox/checkbox.tsx @@ -328,7 +328,7 @@ export class Checkbox implements ComponentInterface { {this.renderHintText()}
- +