I'm developing an app for blind or visually impaired people using Xamarin.Forms. I have a NavigationPage
with the title X, and when the app starts talkback reads the title X. I have 4 pages that can be navigated to with A, B, C and D titles. I would like that when navigating through different pages, the screen reader would read the title of the page. Is it possible?
For example, if I switch on talkback on Android and I navigate through settings pages, talkback reads all page titles. I want to do something similar.
When I searched yesterday, I didn't find that thread. It works for me:
Xamarin Forms - Accessibility - Screen reader to read each page name/header on page load/appearing
Answers
When I searched yesterday, I didn't find that thread. It works for me:
Xamarin Forms - Accessibility - Screen reader to read each page name/header on page load/appearing
For this, you can check the official document Xamarin.Forms Accessibility
From Automation Properties in Xamarin.Forms,we know that Xamarin.Forms allows
accessibility
values to be set on user interface elements by using attached properties from theAutomationProperties
class, which in turn set native accessibility values. This article explains how to use theAutomationProperties
class, so that a screen reader can speak about the elements on the page.For more details, you can check: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/accessibility/automation-properties
And there is a sample about this, you can check it here: https://docs.microsoft.com/en-us/samples/xamarin/xamarin-forms-samples/userinterface-accessibility/
Hope it can help you.
Hello @jezh , it is not that easy as setting the automation properties. The answer is in the link provided in the previous comment. Thank you for your help.