String hintText(L"Double tap and drag to adjust");
+ __pHueBarElement->SetName("ColorPickerColorSlider");
__pHueBarElement->SetLabel("Hue Slider");
__pHueBarElement->SetTrait(ACCESSIBILITY_TRAITS_NONE);
__pHueBarElement->SetHint(hintText);
__pSaturationBarElement = new (std::nothrow) _AccessibilityElement(true);
SysTryReturnVoidResult(NID_UI_CTRL, __pSaturationBarElement != null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
+ __pSaturationBarElement->SetName("ColorPickerSaturationSlider");
__pSaturationBarElement->SetLabel("Saturation Slider");
__pSaturationBarElement->SetTrait(ACCESSIBILITY_TRAITS_NONE);
__pSaturationBarElement->SetHint(hintText);
__pLuminanceBarElement = new (std::nothrow) _AccessibilityElement(true);
SysTryReturnVoidResult(NID_UI_CTRL, __pLuminanceBarElement != null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
+ __pLuminanceBarElement->SetName("ColorPickerBrightnessSlider");
__pLuminanceBarElement->SetLabel("Luminance Slider");
__pLuminanceBarElement->SetTrait(ACCESSIBILITY_TRAITS_NONE);
__pLuminanceBarElement->SetHint(hintText);
{
if (__pDividerVisualElement)
{
+ __pAccessibilityElement = new (std::nothrow) _AccessibilityElement(true);
+ SysTryReturn(NID_UI_CTRL, __pAccessibilityElement, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
+
dividerRect = __pSplitPanelPresenter->GetDividerRectangle();
if (GetDividerStyle() == SPLIT_PANEL_DIVIDER_STYLE_FIXED)
{
- hintText = String(L"Drag scroll Fixed");
+ hintText = String(L"double tap to open/close the split area");
+ __pAccessibilityElement->SetTrait(L"Split view button");
}
else
{
- hintText = String(L"Drag scroll, double tap and move to adjust split area");
+ hintText = String(L"double tap and move to adjust split area");
+ __pAccessibilityElement->SetTrait(L"Drag scroll");
}
- __pAccessibilityElement = new (std::nothrow) _AccessibilityElement(true);
- SysTryReturn(NID_UI_CTRL, __pAccessibilityElement, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
-
- __pAccessibilityElement->SetBounds(_CoordinateSystemUtils::ConvertToInteger(dividerRect));
- __pAccessibilityElement->SetTrait(ACCESSIBILITY_TRAITS_NONE);
+ __pAccessibilityElement->SetBounds(dividerRect);
__pAccessibilityElement->SetHint(hintText);
__pAccessibilityElement->SetLabel(L"");
__pAccessibilityElement->SetName(L"SplitPanelDivider");