[M94 Migration][DA] Do not notify radio button state when it is not selected. 34/291334/2
authorJihwan Kim <jh_marc.kim@samsung.com>
Thu, 3 Nov 2022 07:07:08 +0000 (16:07 +0900)
committerBot Blink <blinkbot@samsung.com>
Fri, 28 Apr 2023 07:10:15 +0000 (07:10 +0000)
Checking one radio button always happened when another button is selected.
If we notify unselected radio button state, screen reader reads it,
instead of reading selected radio button state.
So we ignore unselected radio button state.

Change-Id: I4af92a419a2e08949322d4d671e730c293ab76e4
Signed-off-by: Jihwan Kim <jh_marc.kim@samsung.com>
ui/accessibility/platform/ax_platform_node_auralinux.cc

index 615f8aea7ad15232a00a3abc7b44aba5e007bb75..1ca5755e99f0684052f0c837637de83024c0f377 100644 (file)
@@ -3538,7 +3538,7 @@ void AXPlatformNodeAuraLinux::OnCheckedStateChanged() {
   if (!obj)
     return;
 
-#if defined(TIZEN_ATK_FEATURE_VD)
+#if defined(TIZEN_ATK_FEATURE_VD) || defined(OS_TIZEN_DA_PRODUCT)
   // Checking one radio button alway happened when uncheck another button,
   // Sometimes the uncheck event comes after the check event and interrupt
   // the reading of check event (see browser setting page), so ignore it