[NUI][AT-SPI] Add ViewAccessibilityMode (#5118)
authorArtur Świgoń <aswigon@yandex.com>
Mon, 3 Apr 2023 09:41:24 +0000 (11:41 +0200)
committerGitHub <noreply@github.com>
Mon, 3 Apr 2023 09:41:24 +0000 (18:41 +0900)
commitae34d522d9380b9685b9adba69d8338364cf2a35
tree2dd337591d1403701d51e0c22a6b1f416504effd
parentc6497dfa5d4277c276ace8ece46be4ead01bf2f6
[NUI][AT-SPI] Add ViewAccessibilityMode (#5118)

The accessibility mode helps select the right Accessible implementation for
a given view. It does not affect controls derived from CustomView (or any of
its subclasses), e.g. Tizen.NUI.Components, which already behave in the custom
mode. The default mode is kept for Tizen.NUI.BaseComponents. However, this
patch add a possibility of opting into the custom mode for controls derived
directly from View (e.g. FluxView), and by doing so, to be able to implement
accessibility support for them in the C# language.

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
src/Tizen.NUI/src/internal/Interop/Interop.View.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs