You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
In the label it is shown the accessibility text set with AutomationProperties.SetName(label, "Test accessibility name"), in this case "Test accessibility name" is shown. (In native Android ContentDescription works fine and doesn't show any text).
Basic Information
Version with issue: All the latest tried, 4.3 and 4.4 and also pre release 4.5 pre 4
Last known good version: none
IDE: Visual Studio for Mac 8.4.6 (build 36)
Platform Target Frameworks:
Android: 9.0, API 28
Nuget Packages: Xamarin.Essentials 1.3.1 and 1.4.0
Description
Accessibility values added on empty Label are visible in Android UI
Same as this issue, but with Label.
Steps to Reproduce
AutomationProperties.SetIsInAccessibleTree(label, true)
AutomationProperties.SetName(label, "Test accessibility name")
CODE SAMPLE:
C#
Expected Behavior
An empty label with no text should be displayed
Actual Behavior
In the label it is shown the accessibility text set with
AutomationProperties.SetName(label, "Test accessibility name")
, in this case "Test accessibility name" is shown. (In native AndroidContentDescription
works fine and doesn't show any text).Basic Information
Screenshots
Reproduction Link
Git repo
Workaround
The text was updated successfully, but these errors were encountered: