[NUI][AT-SPI] Do not set Popup's sub-role to "Alert"
authorArtur Świgoń <a.swigon@samsung.com>
Wed, 10 Aug 2022 13:49:14 +0000 (15:49 +0200)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 22 Aug 2022 09:37:36 +0000 (18:37 +0900)
src/Tizen.NUI.Components/Controls/AlertDialog.cs
src/Tizen.NUI.Components/Controls/Dialog.cs
src/Tizen.NUI.Components/Controls/Menu.cs
src/Tizen.NUI.Components/Controls/Popup.cs

index 26a4b46..5e98929 100755 (executable)
@@ -472,7 +472,6 @@ namespace Tizen.NUI.Components
         {
             base.OnInitialize();
             AccessibilityRole = Role.Dialog;
-            AccessibilityAttributes["sub-role"] = "Alert";
             Show(); // calls RegisterDefaultLabel(); Hide() will call UnregisterDefaultLabel()
         }
 
index 7ba4cb6..ec86fc2 100755 (executable)
@@ -134,7 +134,6 @@ namespace Tizen.NUI.Components
         {
             base.OnInitialize();
             AccessibilityRole = Role.Dialog;
-            AccessibilityAttributes["sub-role"] = "Alert";
             Show(); // calls RegisterDefaultLabel(); Hide() will call UnregisterDefaultLabel()
         }
 
index 29e2214..351f5eb 100755 (executable)
@@ -697,7 +697,6 @@ namespace Tizen.NUI.Components
         {
             base.OnInitialize();
             AccessibilityRole = Role.PopupMenu;
-            AccessibilityAttributes["sub-role"] = "Alert";
         }
 
         /// <summary>
index e76fb5a..cbf4022 100755 (executable)
@@ -783,7 +783,6 @@ namespace Tizen.NUI.Components
         {
             base.OnInitialize();
             AccessibilityRole = Role.Dialog;
-            AccessibilityAttributes["sub-role"] = "Alert";
 
             container.Add(this);
             container.SetTouchConsumed(true);