Xamarin.Forms
Xamarin.Forms copied to clipboard
[Bug] Unexpected image reported when using Windows Narrator with UWP build of app(s)
On UWP, when using Windows Narrator, Narrator reports the presence of an unexpected image.
This can be reproduced using the sample found at https://docs.microsoft.com/en-us/samples/xamarin/xamarin-forms-samples/userinterface-accessibility/
Build for UWP and run. With Narrator running, cycle through the controls on any of the pages in the app. After "AppBar" (for which I will be raising a separate issue), the next control is always read as "Image". There is no image visible. It is unclear, even to developers, what the image might be. An image that is not visible should not be reported by Narrator. It would seem that the AutomationProperties.IsInAccessibleTree property needs to be set to false.
Basic Information
- Version with issue: XF 4.8
- Platform Target Frameworks:
- UWP: 16299
Hi, @johnshardman - thanks for submitting this issue. Would you mind elaborating a bit more on exactly what keys you're pressing and what you're clicking through? I'm running the app with Narrator on, and I'm hearing neither "AppBar" or "Image" read aloud - I only hear the controls on the page being read. If possible, a video would be immensely helpful! Thanks :)
Another note - I had to update the target version of UWP to at least 18362 to successfully build the sample you linked - perhaps you could try updating UWP and seeing if you still see the bug?
Another note - I had to update the target version of UWP to at least 18362 to successfully build the sample you linked - perhaps you could try updating UWP and seeing if you still see the bug?
Changing the target made no difference.
Do you work with NicoleLu? If so, @NicoleLu might be able to assist, having reproduced the problem (see https://forums.xamarin.com/discussion/comment/424631/#Comment_424631 )