From: kishorekumar Dachinamoorthy Date: Tue, 11 Jun 2013 13:38:13 +0000 (+0530) Subject: changing hint text for accessibility. X-Git-Tag: submit/tizen_2.2/20130714.153149~508^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f01ac0f35f40752616a152b279d83e4628f4fb3d;p=framework%2Fosp%2Fuifw.git changing hint text for accessibility. Change-Id: I77115e287710d9b529496c310f6c34e75fd41d8a --- diff --git a/src/ui/controls/FUiCtrl_ColorPicker.cpp b/src/ui/controls/FUiCtrl_ColorPicker.cpp index 8fec081..60ec021 100644 --- a/src/ui/controls/FUiCtrl_ColorPicker.cpp +++ b/src/ui/controls/FUiCtrl_ColorPicker.cpp @@ -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"); diff --git a/src/ui/controls/FUiCtrl_EditTime.cpp b/src/ui/controls/FUiCtrl_EditTime.cpp index 403a083..70468f1 100644 --- a/src/ui/controls/FUiCtrl_EditTime.cpp +++ b/src/ui/controls/FUiCtrl_EditTime.cpp @@ -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()); } diff --git a/src/ui/controls/FUiCtrl_Slider.cpp b/src/ui/controls/FUiCtrl_Slider.cpp index 6ba81fc..35e71d6 100644 --- a/src/ui/controls/FUiCtrl_Slider.cpp +++ b/src/ui/controls/FUiCtrl_Slider.cpp @@ -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)); diff --git a/src/ui/controls/FUiCtrl_Tab.cpp b/src/ui/controls/FUiCtrl_Tab.cpp index f3705b1..7e950d5 100644 --- a/src/ui/controls/FUiCtrl_Tab.cpp +++ b/src/ui/controls/FUiCtrl_Tab.cpp @@ -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) {