Skip to content

Commit

Permalink
Add accessibility label to the menu button (dotnet#23762)
Browse files Browse the repository at this point in the history
  • Loading branch information
tj-devel709 authored Jul 24, 2024
1 parent d10dbaa commit d38ca87
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,10 @@ void UpdateLeftToolbarItems()
if (String.IsNullOrWhiteSpace(image?.AutomationId))
{
if (IsRootPage)
{
NavigationItem.LeftBarButtonItem.AccessibilityIdentifier = "OK";
NavigationItem.LeftBarButtonItem.AccessibilityLabel = "Menu";
}
else
NavigationItem.LeftBarButtonItem.AccessibilityIdentifier = "Back";
}
Expand Down

0 comments on commit d38ca87

Please sign in to comment.