Summary: | Accessibility Support doesn't work in XAML | ||
---|---|---|---|
Product: | Forms | Reporter: | Adam <adam.pedley> |
Component: | Forms | Assignee: | Bugzilla <bugzilla> |
Status: | VERIFIED FIXED | ||
Severity: | major | CC: | chris.king, dan.rigby, jas, paul.dipietro, rui.marinho, sahou, v-gagano |
Priority: | Normal | ||
Version: | 2.3.5 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows | ||
Tags: | ac | Is this bug a regression?: | --- |
Last known good build: |
Description
Adam
2017-05-07 00:41:42 UTC
Hi Adam, the blog post was mislabeled and the feature should be in 2.3.5. I apologize for the incorrect info being placed there and the post should now be updated to reflect the correct version. As for the issue being present in 2.3.5, locally I found that there is some sort of issue with LabeledBy not parsing correctly on my end (although removing it appears to let the app run and the Narrator works), so I'm going to get some attention on this. I tried again in 2.3.5 -pre1 and -pre2 This XAML <Entry Accessibility.Hint="Hint" Accessibility.IsInAccessibleTree="True" Accessibility.LabeledBy="Me" Accessibility.Name="Name" Text="Hello" /> Produces this error Position 8:6. Missing a public static GetHint or a public instance property getter for the attached property "Xamarin.Forms.Accessibility.HintProperty" I can not get any Accessibility options in XAML to work at all. I'm seeing the same error locally when attempting to add the Accessibility.Hint, Accessibility.IsInAccessibleTree and Accessibility.Name attributes in XAML: "error : Missing a public static GetHint or a public instance property getter for the attached property "Xamarin.Forms.Accessibility.HintProperty"" Should be fixed on 2.3.5-pre3 LabeledBy should be set using `{x:Reference}` markup extension Verified this issue on the build info below Microsoft Visual Studio Enterprise 2015 Version 14.0.25431.01 Update 3 Microsoft .NET Framework Version 4.6.01586 Installed Version: Enterprise Xamarin 4.6.0.279 (de55d19) Xamarin.Android 7.4.0.13 (f6289cd) Xamarin.iOS 10.12.0.12 (494fcbc) Forms.Version 2.3.5.255-pre5 Issue is Fixed now. |