Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

Verify we can take out the accessibility feature flag and turn it on by default #15054

@jfversluis

Description

@jfversluis

Hi everyone! Apologies for the late update - in case you missed it, this was fixed earlier this summer by #14089. All the awesome fixes @PureWeen made in this PR are set up behind an Accessibility_Experimental flag, which is available in XF 5.0.0.2083 and later versions.

If you aren't familiar with experimental flags, you can read more about them here: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/internals/experimental-flags. But in short, after updating XF, enable the flag by adding the following to your code-behind, after the InitializeComponent and before setting the MainPage:

Xamarin.Forms.Device.SetFlags(new List<string> { "Accessibility_Experimental"});

Furthermore, be sure to check out the new SemanticEffects properties in XCT which also circumvents the AutomationID issue. These can also be applied to your XF projects, and reflect the properties that will be brought into .NET MAUI as well.

Hope this helps, and let us know if you have more questions! :)

Originally posted by @rachelkang in #1529 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions