Skip to content

Commit

Permalink
Merge pull request #3 from IeuanWalker/Fix/TalkBack
Browse files Browse the repository at this point in the history
Fix: Talk back accessibility
  • Loading branch information
IeuanWalker authored Dec 29, 2022
2 parents 5e80755 + 87b36ba commit 3bca2f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Scr/Handler/CustomContentViewGroup.Android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public CustomContentViewGroup(Context context) : base(context)
{
SetAccessibilityDelegate(new MyAccessibilityDelegate());

this.Clickable = true;
this.Focusable = true;

Touch += (sender, te) =>
{
Expand Down Expand Up @@ -83,6 +83,7 @@ public override void OnInitializeAccessibilityNodeInfo(Android.Views.View? host,
}

info.ClassName = "android.widget.Button";
info.Clickable = true;
}
}
}

0 comments on commit 3bca2f3

Please sign in to comment.