My webviews are not responding to the accessibility tags
On IOS and android
The following is reading the webview without any accessibility tags. However, is not full screen on iPhone XR (I'm not sure if is related) . But if you created a new project exactly as that example the webviews are not been read by voice over.
Webviews are not being read not matter if you add accessibility tags
AutomationProperties.IsInAccessibleTree="true"
on XAML -> Please add this line as example
or C#
public view()
{
InitializeComponent();
WebView.Source = "https://twitter.com";
}
1.Create a new project using .NET
2.Create any webview
3.Add accesibilty tags
Read everything when voiceover is activated it
Is not reading anything on the webviews
On xamarin forms - Target Framework is .NET Standard 2.0
-Xamarin Forms (4.1.0.581479)
About visual studio
=== Visual Studio Enterprise 2019 for Mac ===
Version 8.1.5 (build 9)
Installation UUID: 7692fd6e-5645-498f-b996-0c7a5632bf5c
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.6.0.25 (d16-0 / 50f75273)
Package version: 518010028
=== Mono Framework MDK ===
Runtime:
Mono 5.18.1.28 (2018-08/223ea7ef92e) (64-bit)
Package version: 518010028
=== NuGet ===
Version: 5.0.2.5988
=== .NET Core ===
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
2.1.11
2.1.9
2.1.8
2.1.2
2.0.5
2.0.0
SDK: /usr/local/share/dotnet/sdk/2.1.700/Sdks
SDK Versions:
2.1.700
2.1.505
2.1.504
2.1.302
2.1.4
2.0.0
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.18.1/lib/mono/msbuild/Current/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.6.10
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Updater ===
Version: 11
=== Xamarin Designer ===
Version: 16.1.0.467
Hash: f1657e133
Branch: remotes/origin/d16-1-new-document-model
Build date: 2019-06-18 21:57:42 UTC
=== Xamarin.Android ===
Version: 9.3.0.23 (Visual Studio Enterprise)
Commit: HEAD/d0b48056f
Android SDK: /Users/compriop/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
5.0 (API level 21)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
8.0 (API level 26)
8.1 (API level 27)
SDK Tools Version: 26.1.1
SDK Platform Tools Version: 28.0.2
SDK Build Tools Version: 28.0.3
Build Information:
Mono: mono/mono/2018-08@3a07bd426d3
Java.Interop: xamarin/java.interop/d16-1@5ddc3e3
LibZipSharp: grendello/LibZipSharp/d16-1@44de300
LibZip: nih-at/libzip/rel-1-5-1@b95cf3f
ProGuard: xamarin/proguard/master@905836d
SQLite: xamarin/sqlite/3.27.1@8212a2d
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-1@acabd26
=== Microsoft Mobile OpenJDK ===
Java SDK: /Users/compriop/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Android Device Manager ===
Version: 1.2.0.44
Hash: aac645b
Branch: remotes/origin/d16-1
Build date: 2019-05-29 19:55:24 UTC
=== Apple Developer Tools ===
Xcode 10.2.1 (14490.122)
Build 10E1001
=== Xamarin.Mac ===
Version: 5.10.0.157 (Visual Studio Enterprise)
Hash: 6bd94753
Branch: d16-1
Build date: 2019-06-12 17:28:48-0400
=== Xamarin.iOS ===
Version: 12.10.0.157 (Visual Studio Enterprise)
Hash: 6bd94753
Branch: d16-1
Build date: 2019-06-12 17:28:47-0400
=== Xamarin Inspector ===
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1
=== Build Information ===
Release ID: 801050009
Git revision: bd0ab28ba941b19b39322247db020dcd0fb305d0
Build date: 2019-07-03 17:15:21+00
Build branch: release-8.1
Xamarin extensions: 8cc25b5cb090e6c23b62a7901000c299977eb08d
=== Operating System ===
Mac OS X 10.14.5
Darwin 18.6.0 Darwin Kernel Version 18.6.0
Thu Apr 25 23:16:27 PDT 2019
root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64
=== Enabled user installed extensions ===
MFractor 3.8.9
Hi @pamela032709
I've moved this issue to the Xamarin.Forms engineering repo.
I attach the sample.
Test6894.zip
Can reproduce on iOS.
any update on this? I tried the sample attached and still not working for me.
I suspect this is caused by #3989. We're now adding all views explicitly to the accessibilityElements list, and the WebView contents are not added.
Running into this problem as well.
Ho can I test if this is working? is there any new version that I need to install?
Thanks
Sent from my iPhone
On Sep 2, 2019, at 2:58 AM, Stephane Delcroix notifications@github.com wrote:
Closed #6894 via f6cf100.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Hi @pamela032709
I think this fix will be in the next round of NuGets we will be releasing soon. I see it's merged in 4.0 so basically every version that is released with 4.0 or up should have this fix. New NuGets should arrive pretty soon, I think even this week :)
That will be great!
Sent from my iPhone
On Sep 2, 2019, at 9:12 AM, Gerald Versluis notifications@github.com wrote:
Hi @pamela032709
I think this fix will be in the next round of NuGets we will be releasing soon. I see it's merged in 4.0 so basically every version that is released with 4.0 or up should have this fix. New NuGets should arrive pretty soon, I think even this week :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Thanks @samhouts . I tested . is working now .