From d6b6c545a7803cbf9183990707e722936721924d Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Fri, 26 Nov 2021 12:23:58 +0900 Subject: [PATCH] [NUI][ATSPI] set RecyclerViewItem role From this patch, it is able to set highlight to the RecyclerViewItem and its descendant. --- .../Controls/RecyclerView/Item/RecyclerViewItem.Internal.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Tizen.NUI.Components/Controls/RecyclerView/Item/RecyclerViewItem.Internal.cs b/src/Tizen.NUI.Components/Controls/RecyclerView/Item/RecyclerViewItem.Internal.cs index e995132..8033ebf 100755 --- a/src/Tizen.NUI.Components/Controls/RecyclerView/Item/RecyclerViewItem.Internal.cs +++ b/src/Tizen.NUI.Components/Controls/RecyclerView/Item/RecyclerViewItem.Internal.cs @@ -224,6 +224,9 @@ namespace Tizen.NUI.Components UpdateState(); AccessibilityManager.Instance.SetAccessibilityAttribute(this, AccessibilityManager.AccessibilityAttribute.Trait, "ViewItem"); + + SetAccessibilityConstructor(Role.ListItem); + AccessibilityHighlightable = true; } /// -- 2.7.4