[NUI][AT-SPI] Override ContentPage.AccessibilityGetName() (#5141)
authorArtur Świgoń <aswigon@yandex.com>
Mon, 3 Apr 2023 09:43:26 +0000 (11:43 +0200)
committerSangHyeon Jade Lee <dltkdgus1764@gmail.com>
Wed, 5 Apr 2023 12:12:53 +0000 (21:12 +0900)
commitbe25838474a035adbf54c55a75d2ff7b3344291e
treeb54a3a60c52d0537343bf884020c8b9782efd597
parent6e64d75a4d65f4f61b34e7f0b1d6ae4b872cc85a
[NUI][AT-SPI] Override ContentPage.AccessibilityGetName() (#5141)

ContentPage often serves as a default label in scenarios where Navigator is
used, so Screen Reader will ask ContentPage about the accessibility name (text
to read) when a Navigator page is pushed. Therefore, it makes sense to try to
provide the text from ContentPage.AppBar.Title (if it exists). The application
developer can always customize this by setting the AccessibilityName property
or adding an AccessibilityRelation.LabelledBy.

Co-authored-by: Artur Świgoń <a.swigon@samsung.com>
src/Tizen.NUI.Components/Controls/Navigation/ContentPage.cs