changing hint text for accessibility.
authorkishorekumar Dachinamoorthy <kishore.d@samsung.com>
Tue, 11 Jun 2013 13:38:13 +0000 (19:08 +0530)
committerkishorekumar Dachinamoorthy <kishore.d@samsung.com>
Wed, 12 Jun 2013 10:53:00 +0000 (16:23 +0530)
Change-Id: I77115e287710d9b529496c310f6c34e75fd41d8a

src/ui/controls/FUiCtrl_ColorPicker.cpp
src/ui/controls/FUiCtrl_EditTime.cpp
src/ui/controls/FUiCtrl_Slider.cpp
src/ui/controls/FUiCtrl_Tab.cpp

index 8fec081..60ec021 100644 (file)
@@ -372,7 +372,7 @@ _ColorPicker::InitializeAccessibilityElement(void)
                __pHueBarElement = new (std::nothrow) _AccessibilityElement(true);
                SysTryReturnVoidResult(NID_UI_CTRL, __pHueBarElement != null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
 
-               String hintText(L"Double tap and drag to adjust");
+               String hintText(L"flick up and down to adjust");
 
                __pHueBarElement->SetName("ColorPickerColorSlider");
                __pHueBarElement->SetLabel("Hue Slider");
index 403a083..70468f1 100644 (file)
@@ -921,7 +921,7 @@ _EditTime::UpdateAccessibilityElement(void)
                        __pAccessibilityAmPmElement->Activate(true);
                }
 
-               String hintAmPmText(L"Double tap to change to ");
+               String hintAmPmText(L"Double tap to edit");
 
                String amString;
                String pmString;
@@ -932,13 +932,11 @@ _EditTime::UpdateAccessibilityElement(void)
                if (__pEditTimePresenter->GetAmEnabled() == true)
                {
                        __pAccessibilityAmPmElement->SetLabel(amString);
-                       hintAmPmText.Append(pmString.GetPointer());
                        string.Append(amString.GetPointer());
                }
                else
                {
                        __pAccessibilityAmPmElement->SetLabel(pmString);
-                       hintAmPmText.Append(amString.GetPointer());
                        string.Append(pmString.GetPointer());
                }
 
index 6ba81fc..35e71d6 100644 (file)
@@ -218,7 +218,7 @@ _Slider::InitializeAccessibilityElement(void)
                __pAccessibilityElement->SetLabel(__titleText);
                __pAccessibilityElement->SetName(L"SliderControl");
                __pAccessibilityElement->SetTrait(L"Slider");
-               __pAccessibilityElement->SetHint(L"double tap and drag to adjust");
+               __pAccessibilityElement->SetHint(L"flick up and down to adjust");
                SetAccessibilityElementValue();
                r = pContainer->AddElement(*__pAccessibilityElement);
                SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
index f3705b1..7e950d5 100644 (file)
@@ -1535,7 +1535,7 @@ _Tab::AddAccessibilityElement(const FloatRectangle& itemBounds, const String& it
        SysTryReturnVoidResult(NID_UI_CTRL, pAccessibilityElement != null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
 
        pAccessibilityElement->SetTrait(L"Tab");
-       pAccessibilityElement->SetHint(L"Double tap to move to contents");
+       pAccessibilityElement->SetHint(L"double tap to move to content");
 
        if (GetStyle() != _TAB_STYLE_ICON)
        {
@@ -1569,7 +1569,7 @@ _Tab::InsertAccessibilityElementAt(int index, const FloatRectangle& itemBounds,
        SysTryReturnVoidResult(NID_UI_CTRL, pAccessibilityElement != null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
 
        pAccessibilityElement->SetTrait(L"Tab");
-       pAccessibilityElement->SetHint(L"Double tap to move to contents");
+       pAccessibilityElement->SetHint(L"double tap to move to content");
 
        if (GetStyle() != _TAB_STYLE_ICON)
        {