[NUI] Fix View to use control-accessible State::SENSITIVE
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 15 Apr 2024 08:11:38 +0000 (17:11 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Tue, 16 Apr 2024 02:55:58 +0000 (11:55 +0900)
commitc5aad7f53a7d3690fbc5b44be5961f7c5289513c
tree90d5f6d9654b944af368cd3c083927afbd71a273
parent5e7e3d5684778899daf8f347d161c33f2db44f03
[NUI] Fix View to use control-accessible State::SENSITIVE

In dali-toolkit, control-accessible's State::SENSITIVE has been modified
from Actor::Property::SENSITIVE to IsHittable() && GetTouchRequired().

Unlike control-accessible, NUI View's custom Accessibility state of
Sensitive still refers Actor::Property::SENSITIVE.

So NUI View with ViewAccessibilityMode.Default's Accessibility state of
Sensitive refers IsHittable() && GetTouchRequired().

In contrast, NUI View with ViewAccessibilityMode.Custom's Accessibility
state of Sensitive refers Actor::Property::SENSITIVE.

To make them have same Sensitive value, NUI View's custom Accessibility
state of Sensitive is modified to use the value from control-accessible.
src/Tizen.NUI/src/public/BaseComponents/ViewAccessibility.cs