!GetData().GetStringAttribute(ax::mojom::StringAttribute::kValue).empty())
return true;
+#if defined(OS_TIZEN_DA_PRODUCT)
+ std::string name = GetData().GetStringAttribute(
+ ax::mojom::StringAttribute::kName);
+ if (!name.empty())
+ return true;
+#endif
+
for (int i = 0; i < GetChildCount(); i++) {
AXPlatformNodeEfl* obj = ToAXPlatformNodeEfl(
AXPlatformNode::FromNativeViewAccessible(ChildAtIndex(i)));
if (!text.empty())
return true;
+#if defined(OS_TIZEN_DA_PRODUCT)
+ std::string name = GetData().GetStringAttribute(
+ ax::mojom::StringAttribute::kName);
+ if (!name.empty())
+ return true;
+#endif
+
std::string description =
GetData().GetStringAttribute(ax::mojom::StringAttribute::kDescription);
if (!description.empty())
return false;
if (IsFocusable())
return true;
+
+#if !defined(OS_TIZEN_DA_PRODUCT)
// Text object types are accessible for its direct reading purpose, while
// sections allow to group accessible nodes for better ui experiance.
if (!IsTextObjectType() && !IsSection())
return false;
+#endif
+
// There is no need to group only one child (skipping unknown ones).
if (IsSection() && !MoreThanOneKnownChild())
return false;
return true;
if (parent_efl->IsFocusable())
return false;
+
+#if !defined(OS_TIZEN_DA_PRODUCT)
if (!parent_efl->IsTextObjectType() && !parent_efl->IsSection())
return true;
+#endif
+
if (parent_efl->IsSection() && !parent_efl->MoreThanOneKnownChild())
return true;
return false;