From 81d58018279061daa703710d4871d82e1251cea7 Mon Sep 17 00:00:00 2001 From: tj-devel709 Date: Mon, 22 Jul 2024 12:45:31 -0500 Subject: [PATCH] Add accessibility label to the menu button --- .../Handlers/Shell/iOS/ShellPageRendererTracker.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellPageRendererTracker.cs b/src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellPageRendererTracker.cs index 63baf5749efa..221aff217929 100644 --- a/src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellPageRendererTracker.cs +++ b/src/Controls/src/Core/Compatibility/Handlers/Shell/iOS/ShellPageRendererTracker.cs @@ -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"; }