Repository navigation
[iOS] Fix VoiceOver dropping child labels on layouts with SemanticProperties.Hint or TapGestureRecognizer - #35590
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 35590Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 35590" |
|
/review -b feature/refactor-copilot-yml |
MauiBot
left a comment
There was a problem hiding this comment.
Expert Review — 3 findings
See inline comments for details.
kubaflo
left a comment
There was a problem hiding this comment.
Could you please check the ai's suggestions?
|
/review -b feature/refactor-copilot-yml |
MauiBot
left a comment
There was a problem hiding this comment.
Expert Review — 1 findings
See inline comments for details.
|
|
/review -b feature/refactor-copilot-yml -p ios |
🤖 AI Summary
📊 Review Session —
|
| Test | Without Fix (expect FAIL) | With Fix (expect PASS) |
|---|---|---|
📱 AccessibilityTests (LayoutWithHintAndChildLabels_SynthesizesAccessibilityLabel, LayoutWithTapGesture_SetsShouldGroupAccessibilityChildren, AccessibilityActivate_InvokesTapGesture) Category=Accessibility |
✅ FAIL — 337s | ✅ PASS — 189s |
🔴 Without fix — 📱 AccessibilityTests (LayoutWithHintAndChildLabels_SynthesizesAccessibilityLabel, LayoutWithTapGesture_SetsShouldGroupAccessibilityChildren, AccessibilityActivate_InvokesTapGesture): FAIL ✅ · 337s
(truncated to last 15,000 chars)
:40:28.8543270] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543310] 2026-05-29 07:40:28.850601-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543350] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543390] 2026-05-29 07:40:28.850673-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_0`1.<<CreateHandlerAndAddToWindow>b__0>d[[Microsoft.Maui.Handlers.IWindowHandler, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543430] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543570] 2026-05-29 07:40:28.850750-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543610] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543660] 2026-05-29 07:40:28.850870-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543690] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543730] 2026-05-29 07:40:28.851040-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.DeviceTests.AccessibilityTests.Issue34380Tests.LayoutWithTapGesture_SetsShouldGroupAccessibilityChildren()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543760] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543800] Execution time: 0.1972545
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543920] Test trait name: Category
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8543970] value: Accessibility
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544060] 2026-05-29 07:40:28.851137-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] 2) [FAIL] AccessibilityActivate on a layout with TapGestureRecognizer fires the gesture Test name: AccessibilityActivate on a layout with TapGestureRecognizer fires the gesture
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544130] 2026-05-29 07:40:28.851220-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] Assembly: [Microsoft.Maui.Controls.DeviceTests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544180] 2026-05-29 07:40:28.851313-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] Exception messages: AccessibilityActivate should report that the activation was handled. Exception stack traces: at Microsoft.Maui.DeviceTests.AccessibilityTests.Issue34380Tests.<>c__DisplayClass3_0.<<AccessibilityActivate_InvokesTapGesture>b__1>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544210] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544260] 2026-05-29 07:40:28.851385-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_1`1.<<CreateHandlerAndAddToWindow>b__1>d[[Microsoft.Maui.Handlers.IWindowHandler, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544390] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544440] 2026-05-29 07:40:28.851473-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Handlers.IWindowHandler, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544470] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544510] 2026-05-29 07:40:28.851550-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Handlers.IWindowHandler, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544550] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544590] 2026-05-29 07:40:28.851638-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544620] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544750] 2026-05-29 07:40:28.851729-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544790] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544830] 2026-05-29 07:40:28.851813-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_0`1.<<CreateHandlerAndAddToWindow>b__0>d[[Microsoft.Maui.Handlers.IWindowHandler, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544880] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544910] at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8544940] 2026-05-29 07:40:28.851920-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545070] 2026-05-29 07:40:28.852026-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545120] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545150] at Microsoft.Maui.DeviceTests.AccessibilityTests.Issue34380Tests.AccessibilityActivate_InvokesTapGesture()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545190] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545220] Execution time: 0.6023928
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545270] 2026-05-29 07:40:28.852103-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] Test trait name: Category
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545300] value: Accessibility
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545340] 2026-05-29 07:40:28.852202-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] 3) [FAIL] Layout with Hint and child Labels synthesizes a combined AccessibilityLabel Test name: Layout with Hint and child Labels synthesizes a combined AccessibilityLabel
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545370] 2026-05-29 07:40:28.852396-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] Assembly: [Microsoft.Maui.Controls.DeviceTests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545490] 2026-05-29 07:40:28.852498-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] Exception messages: AccessibilityLabel should be synthesized from child Labels. Exception stack traces: at Microsoft.Maui.DeviceTests.AccessibilityTests.Issue34380Tests.<>c__DisplayClass1_0.<<LayoutWithHintAndChildLabels_SynthesizesAccessibilityLabel>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545540] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545590] 2026-05-29 07:40:28.852592-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_1`1.<<CreateHandlerAndAddToWindow>b__1>d[[Microsoft.Maui.Handlers.IWindowHandler, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545620] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545760] 2026-05-29 07:40:28.852853-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Handlers.IWindowHandler, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545800] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545840] 2026-05-29 07:40:28.852972-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Handlers.IWindowHandler, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545880] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545910] 2026-05-29 07:40:28.853093-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545950] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8545980] 2026-05-29 07:40:28.853231-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546120] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546160] 2026-05-29 07:40:28.853344-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_0`1.<<CreateHandlerAndAddToWindow>b__0>d[[Microsoft.Maui.Handlers.IWindowHandler, Microsoft.Maui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546210] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546240] 2026-05-29 07:40:28.853461-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546280] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546320] 2026-05-29 07:40:28.853608-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546350] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546410] at Microsoft.Maui.DeviceTests.AccessibilityTests.Issue34380Tests.LayoutWithHintAndChildLabels_SynthesizesAccessibilityLabel()
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546450] --- End of stack trace from previous location ---
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546490] 2026-05-29 07:40:28.853712-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] Execution time: 0.235509
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546530] Test trait name: Category
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546570] value: Accessibility
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8546600] 2026-05-29 07:40:28.854287-0700 Microsoft.Maui.Controls.DeviceTests[6878:45925] Tests run: 8 Passed: 5 Inconclusive: 0 Failed: 3 Ignored: 0
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8588370] 2026-05-29 07:40:28.858636-0700 Microsoft.Maui.Controls.DeviceTests[6878:45379] Xml file was written to the provided writer.
�[40m�[37mdbug�[39m�[22m�[49m: [07:40:28.8590130] 2026-05-29 07:40:28.858847-0700 Microsoft.Maui.Controls.DeviceTests[6878:45379] Tests run: 450 Passed: 5 Inconclusive: 0 Failed: 3 Ignored: 442
�[40m�[37mdbug�[39m�[22m�[49m: ==================== End of ApplicationLog ====================
�[40m�[37mdbug�[39m�[22m�[49m:
�[40m�[32minfo�[39m�[22m�[49m: Uninstalling the application 'com.microsoft.maui.controls.devicetests' from 'iPhone 11 Pro'
�[40m�[37mdbug�[39m�[22m�[49m:
�[40m�[37mdbug�[39m�[22m�[49m: Running /Applications/Xcode_26.0.1.app/Contents/Developer/usr/bin/simctl
�[40m�[37mdbug�[39m�[22m�[49m: Process simctl exited with 0
�[40m�[32minfo�[39m�[22m�[49m: Application 'com.microsoft.maui.controls.devicetests' was uninstalled successfully
�[40m�[32minfo�[39m�[22m�[49m: <<XHARNESS_RESULT_START>>
{
"version": 1,
"machineName": "DK29L5WQYK-1",
"exitCode": 1,
"exitCodeName": "TESTS_FAILED",
"platform": "apple",
"device": "iPhone 11 Pro",
"deviceOsVersion": "26.0",
"files": [
{
"name": "test-ios-simulator-64_26.0-3CDB27E2-7E9A-4D1A-9B85-67243908FB66.log",
"type": "executionlog"
},
{
"name": "list-ios-simulator-64_26.0-20260529_073954.log",
"type": "devicelist"
},
{
"name": "test-ios-simulator-64_26.0-20260529_074002.log",
"type": "testlog"
},
{
"name": "iPhone 11 Pro.log",
"type": "systemlog"
},
{
"name": "Microsoft.Maui.Controls.DeviceTests.log",
"type": "systemlog"
},
{
"name": "com.microsoft.maui.controls.devicetests.log",
"type": "applicationlog"
},
{
"name": "xunit-test-ios-simulator-64_26.0-20260529_074002.xml",
"type": "xmllog"
}
]
}
<<XHARNESS_RESULT_END>>
XHarness exit code: 1 (TESTS_FAILED)
Passed: 0
Failed: 0
Tests completed with exit code: 1
🟢 With fix — 📱 AccessibilityTests (LayoutWithHintAndChildLabels_SynthesizesAccessibilityLabel, LayoutWithTapGesture_SetsShouldGroupAccessibilityChildren, AccessibilityActivate_InvokesTapGesture): PASS ✅ · 189s
(truncated to last 15,000 chars)
teAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4946740] 2026-05-29 07:43:42.494553-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Label'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4947500] 2026-05-29 07:43:42.494649-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Layout'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4948090] 2026-05-29 07:43:42.494698-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Lifecycle'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4949040] 2026-05-29 07:43:42.494797-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'ListView'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4950290] 2026-05-29 07:43:42.494881-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Map'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4950580] 2026-05-29 07:43:42.494935-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'MenuFlyout'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4951290] 2026-05-29 07:43:42.495032-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Mapper'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4952540] 2026-05-29 07:43:42.495115-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Excluded test (filtered by Trait; 'Category':'Memory'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4953400] 2026-05-29 07:43:42.495209-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Modal'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4955490] 2026-05-29 07:43:42.495324-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'NavigationPage'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4956130] 2026-05-29 07:43:42.495453-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Page'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4957070] 2026-05-29 07:43:42.495544-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Path'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4957790] 2026-05-29 07:43:42.495695-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Picker'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4959090] 2026-05-29 07:43:42.495774-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'RadioButton'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4959770] 2026-05-29 07:43:42.495875-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'RefreshView'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4961140] 2026-05-29 07:43:42.495918-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'ScrollView'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4963450] 2026-05-29 07:43:42.496113-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'SearchBar'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4964300] 2026-05-29 07:43:42.496285-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Shape'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4964570] 2026-05-29 07:43:42.496390-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Shell'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4966070] 2026-05-29 07:43:42.496433-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Slider'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4966890] 2026-05-29 07:43:42.496567-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'SwipeView'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4967630] 2026-05-29 07:43:42.496642-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'TabbedPage'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4967710] 2026-05-29 07:43:42.496691-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'TextInput'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4968520] 2026-05-29 07:43:42.496748-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Toolbar'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4969470] 2026-05-29 07:43:42.496819-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'TemplatedView'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4970750] 2026-05-29 07:43:42.496927-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'View'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4972010] 2026-05-29 07:43:42.497070-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'VisualElement'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4972730] 2026-05-29 07:43:42.497179-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'VisualElementTree'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4973640] 2026-05-29 07:43:42.497228-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'WebView'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4974340] 2026-05-29 07:43:42.497355-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Window'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4974800] 2026-05-29 07:43:42.497417-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'WindowOverlay'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.4975710] 2026-05-29 07:43:42.497450-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [FILTER] Included test (filtered by Trait; 'Category':'Xaml'): [Memory] TweenersWillNotLeakDuringInfiniteAnimation
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.5002040] 2026-05-29 07:43:42.500058-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [Test environment: 64-bit .NET .NET 10.0 [collection-per-class, non-parallel]]
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.5002200] 2026-05-29 07:43:42.500129-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [Test framework: xUnit.net 2.9.0.0]
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.5032280] 2026-05-29 07:43:42.503147-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213]
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:42.5032330] Serialize test because it has to add itself to the main window
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:43.3548500] 2026-05-29 07:43:43.354504-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [Unknown process name] clip: empty path.
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:43.3549000] 2026-05-29 07:43:43.354707-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [Unknown process name] clip: empty path.
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:43.3552380] 2026-05-29 07:43:43.355066-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [Unknown process name] clip: empty path.
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:43.4565720] 2026-05-29 07:43:43.456288-0700 Microsoft.Maui.Controls.DeviceTests[7628:52248] [default] Failed to resolve host network app id to config: bundleID: com.apple.WebKit.Networking instance ID: Optional([_EXExtensionInstanceIdentifier: B4CA8566-1045-4563-9603-2F57B25D985A])
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:43.5917760] 2026-05-29 07:43:43.591523-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [PASS] ValidateIsImportantForAccessibility
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:43.5944670] 2026-05-29 07:43:43.594187-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] Microsoft.Maui.DeviceTests.AccessibilityTests+InNewWindowCollection 1.0838532 ms
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:43.7895680] 2026-05-29 07:43:43.789003-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [PASS] Layout with TapGestureRecognizer (no Hint) sets ShouldGroupAccessibilityChildren
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:43.8727430] 2026-05-29 07:43:43.872498-0700 Microsoft.Maui.Controls.DeviceTests[7628:52302] [ProcessSuspension] WebContent[7629] 0x10b060100 - [sessionID=1] WebProcess::updateFreezerStatus: isFreezable=1, error=-1
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:43.9160990] 2026-05-29 07:43:43.915890-0700 Microsoft.Maui.Controls.DeviceTests[7628:52302] [AXRuntimeCommon] WebContent[7629] Could not register system wide server: -25204
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:43.9167550] 2026-05-29 07:43:43.916592-0700 Microsoft.Maui.Controls.DeviceTests[7628:52302] [AXRuntimeCommon] WebContent[7629] _AXAddToElementCache was called even though the element was in the cache: <WKAccessibilityWebPageObject: 0x600002100280>
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:43.9717480] 2026-05-29 07:43:43.971237-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [PASS] AccessibilityActivate on a layout with TapGestureRecognizer fires the gesture
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1723110] 2026-05-29 07:43:44.171783-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [PASS] Layout with Hint and child Labels synthesizes a combined AccessibilityLabel
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1726160] 2026-05-29 07:43:44.172409-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] Microsoft.Maui.DeviceTests.AccessibilityTests+Issue34380Tests 0.5733523 ms
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1732500] 2026-05-29 07:43:44.173131-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213]
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1732600] Test collection for Microsoft.Maui.DeviceTests.AccessibilityTests
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1815350] 2026-05-29 07:43:44.181225-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [PASS] IsInAccessibleTree initializes correctly
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1835750] 2026-05-29 07:43:44.183436-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [PASS] IsInAccessibleTree initializes correctly
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1856390] 2026-05-29 07:43:44.185513-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [PASS] ExcludedWithChildren initializes correctly
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1866690] 2026-05-29 07:43:44.186562-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] [PASS] ExcludedWithChildren initializes correctly
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1873410] 2026-05-29 07:43:44.187244-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] Microsoft.Maui.DeviceTests.AccessibilityTests 0.0094869 ms
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1887990] 2026-05-29 07:43:44.188695-0700 Microsoft.Maui.Controls.DeviceTests[7628:52270] Tests run: 8 Passed: 8 Inconclusive: 0 Failed: 0 Ignored: 0
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1916690] 2026-05-29 07:43:44.191370-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] Xml file was written to the provided writer.
�[40m�[37mdbug�[39m�[22m�[49m: [07:43:44.1917910] 2026-05-29 07:43:44.191582-0700 Microsoft.Maui.Controls.DeviceTests[7628:52213] Tests run: 450 Passed: 8 Inconclusive: 0 Failed: 0 Ignored: 442
�[40m�[37mdbug�[39m�[22m�[49m: ==================== End of ApplicationLog ====================
�[40m�[37mdbug�[39m�[22m�[49m:
�[40m�[32minfo�[39m�[22m�[49m: Uninstalling the application 'com.microsoft.maui.controls.devicetests' from 'iPhone 11 Pro'
�[40m�[37mdbug�[39m�[22m�[49m:
�[40m�[37mdbug�[39m�[22m�[49m: Running /Applications/Xcode_26.0.1.app/Contents/Developer/usr/bin/simctl
�[40m�[37mdbug�[39m�[22m�[49m: Process simctl exited with 0
�[40m�[32minfo�[39m�[22m�[49m: Application 'com.microsoft.maui.controls.devicetests' was uninstalled successfully
�[40m�[32minfo�[39m�[22m�[49m: <<XHARNESS_RESULT_START>>
{
"version": 1,
"machineName": "DK29L5WQYK-1",
"exitCode": 0,
"exitCodeName": "SUCCESS",
"platform": "apple",
"device": "iPhone 11 Pro",
"deviceOsVersion": "26.0",
"files": [
{
"name": "test-ios-simulator-64_26.0-3CDB27E2-7E9A-4D1A-9B85-67243908FB66.log",
"type": "executionlog"
},
{
"name": "list-ios-simulator-64_26.0-20260529_074331.log",
"type": "devicelist"
},
{
"name": "test-ios-simulator-64_26.0-20260529_074337.log",
"type": "testlog"
},
{
"name": "iPhone 11 Pro.log",
"type": "systemlog"
},
{
"name": "Microsoft.Maui.Controls.DeviceTests.log",
"type": "systemlog"
},
{
"name": "com.microsoft.maui.controls.devicetests.log",
"type": "applicationlog"
},
{
"name": "xunit-test-ios-simulator-64_26.0-20260529_074337.xml",
"type": "xmllog"
}
]
}
<<XHARNESS_RESULT_END>>
XHarness exit code: 0
Passed: 8
Failed: 0
Tests completed successfully
📁 Fix files reverted (6 files)
eng/pipelines/ci-copilot.ymlsrc/Controls/src/Core/Platform/GestureManager/GesturePlatformManager.iOS.cssrc/Core/src/Platform/iOS/MauiView.cssrc/Core/src/Platform/iOS/SemanticExtensions.cssrc/Core/src/PublicAPI/net-ios/PublicAPI.Unshipped.txtsrc/Core/src/PublicAPI/net-maccatalyst/PublicAPI.Unshipped.txt
🧪 UI Tests — ViewBaseTests
Detected UI test categories: ViewBaseTests
✅ Deep UI tests — 112 passed, 0 failed across 1 category on platform-pool agent (replaces in-process counts above).
🧪 UI Test Execution Results (deep, platform pool)
| Category | Tests | Snapshot diffs |
|---|---|---|
ViewBaseTests |
112/112 ✓ | — |
📎 Download drop-deep-uitests artifact (TRX + snapshot diffs) |
🔍 Pre-Flight — Context & Validation
Issue: #34380 - [iOS] VoiceOver does not correctly describe View with GestureRecognizers
PR: #35590 - [iOS] Fix VoiceOver dropping child labels on layouts with SemanticProperties.Hint or TapGestureRecognizer
Platforms Affected: iOS, MacCatalyst
Files Changed: 5 implementation, 1 test
Key Findings
- The issue reports that iOS VoiceOver does not announce tappable layout interaction, and adding SemanticProperties.Hint makes a layout a leaf accessibility element that hides child label text.
- The current PR fix synthesizes layout AccessibilityLabel from visible child IText/semantic descriptions when a layout has a hint, promotes the layout to IsAccessibilityElement, and updates heading traits.
- The current PR fix adds dynamic re-synthesis via MauiView.AccessibilityLabel, an AccessibilityActivateCallback path for tap gestures, and cleanup for null/cleared semantics.
- Prior inline review concerns about stale snapshots, hidden children, null semantics cleanup, and grouping state have been resolved in the latest PR code.
- Gate result was already completed separately and passed on iOS; gate/content.md was not created or overwritten by this loop.
Code Review Summary
Verdict: LGTM
Confidence: high
Errors: 0 | Warnings: 1 | Suggestions: 2
Key code review findings:
- Warning: Missing test coverage for the demotion path when both hint and description are cleared from a promoted layout.
- Suggestion: MauiView.cs references a transient PR review comment instead of a stable issue link.
- Suggestion: AccessibilityLabel setter behavior while SynthesizeAccessibilityLabelFromChildren is true could be documented for maintainers.
Fix Candidates
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| PR | PR #35590 | Synthesize parent layout AccessibilityLabel from child text in SemanticExtensions, promote layout to a leaf accessibility element, and route AccessibilityActivate to tap gestures via MauiView.AccessibilityActivateCallback. | PASSED (Gate) | SemanticExtensions.cs, GesturePlatformManager.iOS.cs, MauiView.cs, PublicAPI entries, iOS device tests | Original PR |
🔬 Code Review — Deep Analysis
Code Review — PR #35590
[iOS] Fix VoiceOver dropping child labels on layouts with SemanticProperties.Hint or TapGestureRecognizer
Independent Assessment
What this changes (from code alone):
-
SemanticExtensions.cs(iOS): TheUpdateSemantics(UIView, IView)public method gains a new code path forILayoutviews. When a layout has a non-emptyHint, it: synthesizes anAccessibilityLabelfrom visibleITextchildren (unlessDescriptionis explicitly set), setsIsAccessibilityElement = true, clearsShouldGroupAccessibilityChildren, applies the heading trait, and returns early — bypassing the generic internal path. Two cleanup paths were also added: one for whenSemanticsbecomes null (ClearValue), another for whenHintandDescriptionare both cleared while the layout was promoted. ASynthesizeAccessibilityLabelFromChildren/CollectChildrenTexthelper pair traverses the MAUI virtual view tree with a depth cap of 10. -
MauiView.cs(iOS): Two internal properties and two method overrides added:SynthesizeAccessibilityLabelFromChildren(bool) — when true, theAccessibilityLabelgetter re-synthesizes the label on each VoiceOver focus from the current child tree instead of returning a stored snapshot.AccessibilityActivateCallback(Func<bool>?) +AccessibilityActivate()override — letsGesturePlatformManagerinject a directSendTappedinvocation, bypassing UIKit's simulated-touch path.
-
GesturePlatformManager.iOS.cs: When aTapGestureRecognizeris detected on anILayout, optionally setsShouldGroupAccessibilityChildren = true(only ifIsAccessibilityElementis not already true), and registersAccessibilityActivateCallbackonMauiView. A newResetAccessibilityPromotionFlags()helper reverses both changes on cleanup (Dispose and gesture-collection-change path). -
AccessibilityTests.iOS.cs: Three new device tests covering: label synthesis, ShouldGroupAccessibilityChildren promotion, and VoiceOver activation wiring. -
PublicAPI.Unshipped.txt(iOS + Mac Catalyst): Three new public override entries forAccessibilityActivate()andAccessibilityLabel.get/set.
Inferred motivation: UIKit's flat accessibility model means a layout can be either a leaf element (VoiceOver reads it, hiding children) or a container (children are read individually). Previously MAUI set IsAccessibilityElement = true for layouts with Hint but never populated AccessibilityLabel, so VoiceOver read only the hint. The fix synthesizes the label from children to match Android's TalkBack behavior.
Reconciliation with PR Narrative
Author claims: iOS VoiceOver reads only the Hint on a layout, ignoring child labels, because AccessibilityLabel was never populated. The fix synthesizes the label from children and also adds a reliable VoiceOver activation path for TapGestureRecognizer on Catalyst.
Agreement/disagreement: My code-only assessment matches the author's root-cause analysis precisely. The "flat accessibility model" constraint and the description-vs-synthesized-label branching logic are correctly implemented. All four prior review issues (stale snapshot, hidden children included, ShouldGroupAccessibilityChildren state, null-semantics cleanup) were addressed in the current code.
Findings
⚠️ Warning — Missing test coverage for the demotion path
SemanticExtensions.cs lines 164–175 demote a layout back to IsAccessibilityElement = false when both Hint and Description are cleared (non-null Semantics object, empty/whitespace strings). This branch has no corresponding device test. A regression in this block (e.g., the ILayout guard or the SynthesizeAccessibilityLabelFromChildren reset) would be invisible until a user reports that VoiceOver keeps announcing a layout as a leaf element after its hint is removed.
Suggested test sketch:
// Set hint → assert promoted → clear hint → assert demoted
SemanticProperties.SetHint(layout, "tap");
// ... handler update ...
SemanticProperties.SetHint(layout, string.Empty);
// ... handler update ...
Assert.False(platformView.IsAccessibilityElement, "Should be demoted after hint cleared.");This is the only demote scenario not exercised by the three tests in AccessibilityTests.iOS.cs.
💡 Suggestion — Doc comment embeds a private PR review URL
MauiView.cs line 917:
/// See PR #35590 review comment r3291149230.Private GitHub review-comment URLs are opaque and decay in usefulness over time. Replace with a reference to the issue or a stable doc anchor:
/// See https://github.com/dotnet/maui/issues/34380 for context.💡 Suggestion — AccessibilityLabel setter behavior when SynthesizeAccessibilityLabelFromChildren = true is undocumented
MauiView.cs lines 937–938:
set => base.AccessibilityLabel = value;If SynthesizeAccessibilityLabelFromChildren = true and a non-null value is written via the setter, the getter silently ignores the stored value and returns the synthesized label instead. This is intentional (the flag takes priority), but is not mentioned in the SynthesizeAccessibilityLabelFromChildren or AccessibilityLabel XML docs. Since SynthesizeAccessibilityLabelFromChildren is internal this is unlikely to bite callers outside MAUI, but a brief note in the getter's <remarks> would help future maintainers.
Devil's Advocate
Against the approval:
- The
ShouldGroupAccessibilityChildrenstate can become desynchronized fromGesturePlatformManager's_setShouldGroupAccessibilityChildrenflag in the scenario: (1) gesture added first → flag captures default, (2) hint set →SemanticExtensionsforcesShouldGroupAccessibilityChildren = falsewhile the flag still says "we set it to true", (3)ClearValue(Hint)→IsAccessibilityElementis cleared butShouldGroupAccessibilityChildrenis not restored. The author addressed this in the existing review thread and the reasoning is sound:ShouldGroupAccessibilityChildren = truealone does not make a layout VoiceOver-focusable, so the inconsistency carries no user-visible consequence. I accept this reasoning. - The
AccessibilityActivateCallbackcan remain registered onMauiViewafterClearValue(HintProperty), becauseGesturePlatformManagerhas not seen a gesture-collection change. The layout is no longerIsAccessibilityElement, so VoiceOver cannot activate it directly — the orphaned callback is unreachable. Not a bug, just mild latent state. HasAccessibleTapGesturereturns only the firstTapGestureRecognizerwithNumberOfTapsRequired == 1. Multiple primary tap gestures on the same layout would result in only the first firing through VoiceOver. This is pre-existing behavior not introduced by this PR.
Against the concerns I raised:
- The missing demotion test is a coverage gap, not a correctness defect — the demotion logic itself is correct and exercised manually.
- The doc comment nit is cosmetic.
Verdict: LGTM
Confidence: high
Summary: The fix correctly solves the UIKit flat-accessibility-model problem: layouts with Hint now have a synthesized AccessibilityLabel that VoiceOver can read, the dynamic re-synthesis on each focus avoids stale announcements, and both cleanup paths (null semantics and cleared hint) restore default state. All prior review issues are resolved. CI is fully green (35/35 checks passed). The two 💡 suggestions and one
🔧 Fix — Analysis & Comparison
Fix Candidates
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| 1 | try-fix-1 | Move dynamic synthesized label and direct activation callback from broad MauiView to layout-specific LayoutView. | PASS | 5 files | Narrower blast radius than PR; passes iOS accessibility tests, but may not cover rare non-LayoutView ILayout platform views. |
| 2 | try-fix-2 | Static one-time label synthesis in SemanticExtensions; keep only MauiView.AccessibilityActivate callback. | PASS | 5 files | Smaller than PR, but expert self-review found stale-label risk for dynamic child text, visibility, or semantic changes. |
| 3 | try-fix-3 | UIKit grouping-only container; avoid leaf promotion and synthesized parent label. | FAIL | 2 files | Fails because grouping alone does not promote the hinted layout and does not provide reliable activation. |
| PR | PR #35590 | Dynamic child-label synthesis via MauiView.AccessibilityLabel, layout leaf promotion, grouping cleanup, and direct activation callback. | PASSED (Gate) | 5 implementation files + 1 test | Original PR; gate passed on iOS before this loop. |
Candidate Narratives
try-fix-1
- Approach: LayoutView-specific accessibility behavior.
- Test: PASS. Category=Accessibility iOS Controls device tests reported 8/8 passed.
- Learning: This is a plausible narrower alternative and is the only candidate that may be competitive with the PR. Its tradeoff is coverage risk for ILayout implementations not backed by LayoutView.
try-fix-2
- Approach: Static semantic-label synthesis during mapping.
- Test: PASS. Category=Accessibility iOS Controls device tests reported 8/8 passed.
- Learning: Passing tests are insufficient here. Expert review identified a major stale-label failure mode; the PR's dynamic getter is more robust.
try-fix-3
- Approach: UIKit grouping-only container.
- Test: FAIL. Final run reported 8 tests run, 6 passed, 2 failed.
- Failure analysis: The layout was not promoted to an accessibility element and AccessibilityActivate did not handle the tap gesture. This rules out a grouping-only solution.
Cross-Pollination
| Model/Reviewer | Round | New Ideas? | Details |
|---|---|---|---|
| code-review + maui-expert-reviewer | 1 | Yes | Suggested constraining blast radius to LayoutView, testing simpler static synthesis, and testing a UIKit grouping/container hypothesis. |
| code-review + maui-expert-reviewer | 2 | No | After the three candidates, remaining synthetic UIAccessibilityElement proxy approach was considered meaningfully different but too complex/risky for this targeted fix and not worth running. |
Exhausted: Yes
Selected Fix: Candidate #1 is the best alternative candidate; PR #35590 remains the safer selected fix overall. Candidate #1 passes and has narrower blast radius, but PR #35590 covers all MauiView-backed layout promotion paths and avoids Candidate #2's stale snapshot issue while passing the already completed gate. No alternative was demonstrably better than the PR's fix.
📋 Report — Final Recommendation
Comparative Analysis - PR #35590
Candidates Compared
| Rank | Candidate | Test Result | Assessment |
|---|---|---|---|
| 1 | pr |
PASS - gate passed on iOS | Best overall. Dynamic child-label synthesis avoids stale snapshots, layout promotion handles the VoiceOver leaf requirement, direct activation handles tap gestures, and cleanup paths are present. |
| 2 | pr-plus-reviewer |
PASS - same implementation as pr |
Expert review found no actionable source changes. Functionally equivalent to pr, with only a non-blocking suggestion for additional demotion/transition test coverage. |
| 3 | try-fix-1 |
PASS - iOS Accessibility device tests 8/8 | Strongest alternative. It narrows behavior to LayoutView, reducing blast radius, but risks missing rare ILayout platform views not backed by LayoutView; the PR covers the broader MauiView-backed layout promotion path. |
| 4 | try-fix-2 |
PASS - iOS Accessibility device tests 8/8 | Weaker despite passing tests. Static one-time label synthesis can become stale when child text, semantic descriptions, visibility, or layout children change after semantics are mapped. |
| 5 | try-fix-3 |
FAIL - iOS Accessibility device tests 6/8 | Must rank below passing candidates. UIKit grouping alone did not promote the hinted layout to the required accessibility element and did not reliably handle VoiceOver activation. |
Analysis
The submitted PR fix remains the safest candidate. It addresses the root VoiceOver behavior by making hinted layouts accessible as leaf elements while dynamically synthesizing a parent label from child text, and it adds a direct AccessibilityActivate callback path for tap gestures. This combination covers the two observed failure modes from the issue and avoids the stale-label problem found in try-fix-2.
try-fix-1 is a credible narrower alternative because it passed the same iOS accessibility test category and keeps the new override behavior on LayoutView. However, its narrower scope creates coverage risk for layout implementations that are not backed by LayoutView. The PR's broader MauiView-based hook is preferable because the gate already passed and no expert reviewer found a correctness issue with the broader placement.
pr-plus-reviewer is effectively the same as pr: the expert reviewer returned LGTM, wrote no inline findings, and only suggested optional extra regression coverage. Since it does not materially improve the implementation, it should not displace the raw PR fix as the selected candidate.
try-fix-3 failed regression tests and is therefore ranked below every passing candidate as required.
Winner
pr is the winning candidate. It passed the gate, has the most robust dynamic behavior, covers activation and cleanup, and no alternative demonstrated a better correctness/safety tradeoff.
…perties.Hint or TapGestureRecognizer (#35590) > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On iOS and MacCatalyst, when a container layout (for example, VerticalStackLayout) has SemanticProperties.Hint set, with or without a TapGestureRecognizer, VoiceOver focuses the entire layout as a single accessibility element but reads only the Hint, ignoring all child label text. On Android, TalkBack handles the same layout correctly by reading the child text followed by the hint. ### Root Cause iOS accessibility uses a flat accessibility model. A UIView can either behave as: - a leaf accessibility element, where VoiceOver reads the view’s AccessibilityLabel and AccessibilityHint while hiding its children, or - a container, where child elements are read individually but the container’s own label and hint are ignored. It cannot behave as both at the same time. The previous MAUI implementation in SemanticExtensions.UpdateSemantics marked layouts with Hint or Description as IsAccessibilityElement = true and assigned AccessibilityHint = Hint, but never populated AccessibilityLabel. As a result, VoiceOver read only the hint, while all child content was hidden because the layout became a leaf accessibility element. **Why Android is unaffected** Android accessibility uses a hierarchical accessibility model. TalkBack walks the native view tree and reads both parent and child accessibility content together. For example, on a VerticalStackLayout with Hint = "more info" containing two labels, TalkBack naturally announces: "[label1], [label2], more info". There is no parent/child exclusivity like on iOS. The MAUI Android implementation sets accessibility properties such as ContentDescription and ImportantForAccessibility per view, and TalkBack correctly combines them while traversing the tree. ### Description of Change **SemanticExtensions.cs:** For ILayout views with Hint set, the fix now populates AccessibilityLabel before promoting the layout to an accessibility element. If Description is provided, it is used directly as the label. Otherwise, the label is synthesized from child IText content. This allows VoiceOver to read both the layout content and the hint together as a single focus unit. The fix also resets IsAccessibilityElement back to false when both Hint and Description are later cleared from the layout. **GesturePlatformManager.iOS.cs:** The existing ShouldGroupAccessibilityChildren value is now captured before modification and restored during cleanup. Also added an AccessibilityActivateCallback registration on MauiView to improve MacCatalyst Ctrl+Option+Space tap reliability, since UIKit’s default activation path is unreliable on Catalyst. **MauiView.cs:** Added AccessibilityActivateCallback : Func<bool>? and overrode AccessibilityActivate() so the callback can invoke TapGestureRecognizer.SendTapped() directly. ### Issues Fixed Fixes #34380 ### Screenshots **iOS:** | Before Issue Fix | After Issue Fix | |----------|----------| | <video width="300" height="600" src="https://github.com/user-attachments/assets/3e45feaa-ef89-4e20-b29b-20618ea7770e"> | <video width="300" height="600" src="https://github.com/user-attachments/assets/092db6da-9ce6-48d1-a8b3-902f403e8c75"> | **Mac:** | Before Issue Fix | After Issue Fix | |----------|----------| | <video width="300" height="600" src="https://github.com/user-attachments/assets/43f4e5bc-82a6-40e7-89c6-542f5a246fc2"> | <video width="300" height="600" src="https://github.com/user-attachments/assets/13c213c5-22d1-4bfe-8252-a6a015e358fc"> |
…perties.Hint or TapGestureRecognizer (#35590) > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On iOS and MacCatalyst, when a container layout (for example, VerticalStackLayout) has SemanticProperties.Hint set, with or without a TapGestureRecognizer, VoiceOver focuses the entire layout as a single accessibility element but reads only the Hint, ignoring all child label text. On Android, TalkBack handles the same layout correctly by reading the child text followed by the hint. ### Root Cause iOS accessibility uses a flat accessibility model. A UIView can either behave as: - a leaf accessibility element, where VoiceOver reads the view’s AccessibilityLabel and AccessibilityHint while hiding its children, or - a container, where child elements are read individually but the container’s own label and hint are ignored. It cannot behave as both at the same time. The previous MAUI implementation in SemanticExtensions.UpdateSemantics marked layouts with Hint or Description as IsAccessibilityElement = true and assigned AccessibilityHint = Hint, but never populated AccessibilityLabel. As a result, VoiceOver read only the hint, while all child content was hidden because the layout became a leaf accessibility element. **Why Android is unaffected** Android accessibility uses a hierarchical accessibility model. TalkBack walks the native view tree and reads both parent and child accessibility content together. For example, on a VerticalStackLayout with Hint = "more info" containing two labels, TalkBack naturally announces: "[label1], [label2], more info". There is no parent/child exclusivity like on iOS. The MAUI Android implementation sets accessibility properties such as ContentDescription and ImportantForAccessibility per view, and TalkBack correctly combines them while traversing the tree. ### Description of Change **SemanticExtensions.cs:** For ILayout views with Hint set, the fix now populates AccessibilityLabel before promoting the layout to an accessibility element. If Description is provided, it is used directly as the label. Otherwise, the label is synthesized from child IText content. This allows VoiceOver to read both the layout content and the hint together as a single focus unit. The fix also resets IsAccessibilityElement back to false when both Hint and Description are later cleared from the layout. **GesturePlatformManager.iOS.cs:** The existing ShouldGroupAccessibilityChildren value is now captured before modification and restored during cleanup. Also added an AccessibilityActivateCallback registration on MauiView to improve MacCatalyst Ctrl+Option+Space tap reliability, since UIKit’s default activation path is unreliable on Catalyst. **MauiView.cs:** Added AccessibilityActivateCallback : Func<bool>? and overrode AccessibilityActivate() so the callback can invoke TapGestureRecognizer.SendTapped() directly. ### Issues Fixed Fixes #34380 ### Screenshots **iOS:** | Before Issue Fix | After Issue Fix | |----------|----------| | <video width="300" height="600" src="https://github.com/user-attachments/assets/3e45feaa-ef89-4e20-b29b-20618ea7770e"> | <video width="300" height="600" src="https://github.com/user-attachments/assets/092db6da-9ce6-48d1-a8b3-902f403e8c75"> | **Mac:** | Before Issue Fix | After Issue Fix | |----------|----------| | <video width="300" height="600" src="https://github.com/user-attachments/assets/43f4e5bc-82a6-40e7-89c6-542f5a246fc2"> | <video width="300" height="600" src="https://github.com/user-attachments/assets/13c213c5-22d1-4bfe-8252-a6a015e358fc"> |
…perties.Hint or TapGestureRecognizer (#35590) > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On iOS and MacCatalyst, when a container layout (for example, VerticalStackLayout) has SemanticProperties.Hint set, with or without a TapGestureRecognizer, VoiceOver focuses the entire layout as a single accessibility element but reads only the Hint, ignoring all child label text. On Android, TalkBack handles the same layout correctly by reading the child text followed by the hint. ### Root Cause iOS accessibility uses a flat accessibility model. A UIView can either behave as: - a leaf accessibility element, where VoiceOver reads the view’s AccessibilityLabel and AccessibilityHint while hiding its children, or - a container, where child elements are read individually but the container’s own label and hint are ignored. It cannot behave as both at the same time. The previous MAUI implementation in SemanticExtensions.UpdateSemantics marked layouts with Hint or Description as IsAccessibilityElement = true and assigned AccessibilityHint = Hint, but never populated AccessibilityLabel. As a result, VoiceOver read only the hint, while all child content was hidden because the layout became a leaf accessibility element. **Why Android is unaffected** Android accessibility uses a hierarchical accessibility model. TalkBack walks the native view tree and reads both parent and child accessibility content together. For example, on a VerticalStackLayout with Hint = "more info" containing two labels, TalkBack naturally announces: "[label1], [label2], more info". There is no parent/child exclusivity like on iOS. The MAUI Android implementation sets accessibility properties such as ContentDescription and ImportantForAccessibility per view, and TalkBack correctly combines them while traversing the tree. ### Description of Change **SemanticExtensions.cs:** For ILayout views with Hint set, the fix now populates AccessibilityLabel before promoting the layout to an accessibility element. If Description is provided, it is used directly as the label. Otherwise, the label is synthesized from child IText content. This allows VoiceOver to read both the layout content and the hint together as a single focus unit. The fix also resets IsAccessibilityElement back to false when both Hint and Description are later cleared from the layout. **GesturePlatformManager.iOS.cs:** The existing ShouldGroupAccessibilityChildren value is now captured before modification and restored during cleanup. Also added an AccessibilityActivateCallback registration on MauiView to improve MacCatalyst Ctrl+Option+Space tap reliability, since UIKit’s default activation path is unreliable on Catalyst. **MauiView.cs:** Added AccessibilityActivateCallback : Func<bool>? and overrode AccessibilityActivate() so the callback can invoke TapGestureRecognizer.SendTapped() directly. ### Issues Fixed Fixes #34380 ### Screenshots **iOS:** | Before Issue Fix | After Issue Fix | |----------|----------| | <video width="300" height="600" src="https://github.com/user-attachments/assets/3e45feaa-ef89-4e20-b29b-20618ea7770e"> | <video width="300" height="600" src="https://github.com/user-attachments/assets/092db6da-9ce6-48d1-a8b3-902f403e8c75"> | **Mac:** | Before Issue Fix | After Issue Fix | |----------|----------| | <video width="300" height="600" src="https://github.com/user-attachments/assets/43f4e5bc-82a6-40e7-89c6-542f5a246fc2"> | <video width="300" height="600" src="https://github.com/user-attachments/assets/13c213c5-22d1-4bfe-8252-a6a015e358fc"> |
…perties.Hint or TapGestureRecognizer (#35590) > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On iOS and MacCatalyst, when a container layout (for example, VerticalStackLayout) has SemanticProperties.Hint set, with or without a TapGestureRecognizer, VoiceOver focuses the entire layout as a single accessibility element but reads only the Hint, ignoring all child label text. On Android, TalkBack handles the same layout correctly by reading the child text followed by the hint. ### Root Cause iOS accessibility uses a flat accessibility model. A UIView can either behave as: - a leaf accessibility element, where VoiceOver reads the view’s AccessibilityLabel and AccessibilityHint while hiding its children, or - a container, where child elements are read individually but the container’s own label and hint are ignored. It cannot behave as both at the same time. The previous MAUI implementation in SemanticExtensions.UpdateSemantics marked layouts with Hint or Description as IsAccessibilityElement = true and assigned AccessibilityHint = Hint, but never populated AccessibilityLabel. As a result, VoiceOver read only the hint, while all child content was hidden because the layout became a leaf accessibility element. **Why Android is unaffected** Android accessibility uses a hierarchical accessibility model. TalkBack walks the native view tree and reads both parent and child accessibility content together. For example, on a VerticalStackLayout with Hint = "more info" containing two labels, TalkBack naturally announces: "[label1], [label2], more info". There is no parent/child exclusivity like on iOS. The MAUI Android implementation sets accessibility properties such as ContentDescription and ImportantForAccessibility per view, and TalkBack correctly combines them while traversing the tree. ### Description of Change **SemanticExtensions.cs:** For ILayout views with Hint set, the fix now populates AccessibilityLabel before promoting the layout to an accessibility element. If Description is provided, it is used directly as the label. Otherwise, the label is synthesized from child IText content. This allows VoiceOver to read both the layout content and the hint together as a single focus unit. The fix also resets IsAccessibilityElement back to false when both Hint and Description are later cleared from the layout. **GesturePlatformManager.iOS.cs:** The existing ShouldGroupAccessibilityChildren value is now captured before modification and restored during cleanup. Also added an AccessibilityActivateCallback registration on MauiView to improve MacCatalyst Ctrl+Option+Space tap reliability, since UIKit’s default activation path is unreliable on Catalyst. **MauiView.cs:** Added AccessibilityActivateCallback : Func<bool>? and overrode AccessibilityActivate() so the callback can invoke TapGestureRecognizer.SendTapped() directly. ### Issues Fixed Fixes #34380 ### Screenshots **iOS:** | Before Issue Fix | After Issue Fix | |----------|----------| | <video width="300" height="600" src="https://github.com/user-attachments/assets/3e45feaa-ef89-4e20-b29b-20618ea7770e"> | <video width="300" height="600" src="https://github.com/user-attachments/assets/092db6da-9ce6-48d1-a8b3-902f403e8c75"> | **Mac:** | Before Issue Fix | After Issue Fix | |----------|----------| | <video width="300" height="600" src="https://github.com/user-attachments/assets/43f4e5bc-82a6-40e7-89c6-542f5a246fc2"> | <video width="300" height="600" src="https://github.com/user-attachments/assets/13c213c5-22d1-4bfe-8252-a6a015e358fc"> |
…perties.Hint or TapGestureRecognizer (#35590) > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On iOS and MacCatalyst, when a container layout (for example, VerticalStackLayout) has SemanticProperties.Hint set, with or without a TapGestureRecognizer, VoiceOver focuses the entire layout as a single accessibility element but reads only the Hint, ignoring all child label text. On Android, TalkBack handles the same layout correctly by reading the child text followed by the hint. ### Root Cause iOS accessibility uses a flat accessibility model. A UIView can either behave as: - a leaf accessibility element, where VoiceOver reads the view’s AccessibilityLabel and AccessibilityHint while hiding its children, or - a container, where child elements are read individually but the container’s own label and hint are ignored. It cannot behave as both at the same time. The previous MAUI implementation in SemanticExtensions.UpdateSemantics marked layouts with Hint or Description as IsAccessibilityElement = true and assigned AccessibilityHint = Hint, but never populated AccessibilityLabel. As a result, VoiceOver read only the hint, while all child content was hidden because the layout became a leaf accessibility element. **Why Android is unaffected** Android accessibility uses a hierarchical accessibility model. TalkBack walks the native view tree and reads both parent and child accessibility content together. For example, on a VerticalStackLayout with Hint = "more info" containing two labels, TalkBack naturally announces: "[label1], [label2], more info". There is no parent/child exclusivity like on iOS. The MAUI Android implementation sets accessibility properties such as ContentDescription and ImportantForAccessibility per view, and TalkBack correctly combines them while traversing the tree. ### Description of Change **SemanticExtensions.cs:** For ILayout views with Hint set, the fix now populates AccessibilityLabel before promoting the layout to an accessibility element. If Description is provided, it is used directly as the label. Otherwise, the label is synthesized from child IText content. This allows VoiceOver to read both the layout content and the hint together as a single focus unit. The fix also resets IsAccessibilityElement back to false when both Hint and Description are later cleared from the layout. **GesturePlatformManager.iOS.cs:** The existing ShouldGroupAccessibilityChildren value is now captured before modification and restored during cleanup. Also added an AccessibilityActivateCallback registration on MauiView to improve MacCatalyst Ctrl+Option+Space tap reliability, since UIKit’s default activation path is unreliable on Catalyst. **MauiView.cs:** Added AccessibilityActivateCallback : Func<bool>? and overrode AccessibilityActivate() so the callback can invoke TapGestureRecognizer.SendTapped() directly. ### Issues Fixed Fixes #34380 ### Screenshots **iOS:** | Before Issue Fix | After Issue Fix | |----------|----------| | <video width="300" height="600" src="https://github.com/user-attachments/assets/3e45feaa-ef89-4e20-b29b-20618ea7770e"> | <video width="300" height="600" src="https://github.com/user-attachments/assets/092db6da-9ce6-48d1-a8b3-902f403e8c75"> | **Mac:** | Before Issue Fix | After Issue Fix | |----------|----------| | <video width="300" height="600" src="https://github.com/user-attachments/assets/43f4e5bc-82a6-40e7-89c6-542f5a246fc2"> | <video width="300" height="600" src="https://github.com/user-attachments/assets/13c213c5-22d1-4bfe-8252-a6a015e358fc"> |
## What's Coming .NET MAUI inflight/candidate introduces significant improvements across all platforms with focus on quality, performance, and developer experience. This release includes 153 commits with various improvements, bug fixes, and enhancements. ## Activityindicator - [Android] Fix CollectionView ActivityIndicator not animating after header height change by @Vignesh-SF3580 in #35358 <details> <summary>🔧 Fixes</summary> - [CollectionView items fail to update ActivityIndicator state after header height change](#33780) </details> ## Animation - [Android] Fix Shadow property affecting transform matrix. by @Shalini-Ashokan in #32962 <details> <summary>🔧 Fixes</summary> - [[Android] Applying Shadow property affects the properties in Visual Transform Matrix](#32731) </details> ## API - Add delegate-based alert dialog extensibility convention (no public API changes) by @Redth in #35095 <details> <summary>🔧 Fixes</summary> - [Alert/Dialog system (`DisplayAlert`, `DisplayActionSheet`, `DisplayPromptAsync`) needs a public extensibility point](#34104) </details> ## Blazor - [Android] Fix for BlazorWebView predictive back callback blocks Android back-to-home animation by @BagavathiPerumal in #35538 <details> <summary>🔧 Fixes</summary> - [[Android] BlazorWebView predictive back callback blocks Android back-to-home animation](#35397) </details> - [Android] Fix BlazorWebView back callback can swallow the first Back press when its callback is stale-enabled by @devanathan-vaithiyanathan in #35611 <details> <summary>🔧 Fixes</summary> - [[inflight regression] Android BlazorWebView back callback can swallow the first Back press when its callback is stale-enabled](#35573) </details> ## Border - [Windows] Fixed the ContentView clip is not updated when wrapping inside the Border by @Ahamed-Ali in #30408 <details> <summary>🔧 Fixes</summary> - [[Windows] ContentView clip is not updated when wrapping inside the Border](#30404) </details> - Fix Border.StrokeDashArray leaks dashed Borders when using a shared Application resource by @devanathan-vaithiyanathan in #35544 <details> <summary>🔧 Fixes</summary> - [`Border.StrokeDashArray` leaks dashed Borders when using a shared Application resource](#35492) </details> - [Windows] Border: Add AutomationPeer support by @Vignesh-SF3580 in #35577 <details> <summary>🔧 Fixes</summary> - [Adding AutomationPeers to Windows Borders](#27627) </details> - [Windows] Fixed BoxView improper rendering inside Border by @Dhivya-SF4094 in #28465 <details> <summary>🔧 Fixes</summary> - [[Windows] Issues with BoxView Placement Inside Border](#19668) </details> ## Button - Prevent NullReferenceException in LayoutButton by @GamesAgeddon in #35284 <details> <summary>🔧 Fixes</summary> - [NullReferenceException on iOS in Button.LayoutButton from WrapperView.LayoutSubviews](#31048) </details> - Fix TextColor null reset to restore platform defaults on iOS and Android by @Shalini-Ashokan in #35563 <details> <summary>🔧 Fixes</summary> - [[Windows, Android, iOS & Mac]Button TextColor does not restore to platform default when reset to null after dynamic update](#35513) </details> ## CollectionView - Fix CollectionView grid spacing updates for first row and column by @KarthikRajaKalaimani in #34527 <details> <summary>🔧 Fixes</summary> - [[MAUI] I2_Vertical grid for horizontal Item Spacing and Vertical Item Spacing - horizontally updating the spacing only applies to the second column](#34257) </details> - [MacCatalyst] Fix CollectionView Header/Footer Not Expanding to Content Width by @KarthikRajaKalaimani in #35213 <details> <summary>🔧 Fixes</summary> - [[MacOS][CV2] I8_View header and footer_Horizontal_View - Footer on the right doesn't adapt when resizing the window](#35113) </details> - [iOS/MacCatalyst] Fix IndicatorView not updating when IndicatorSize is changed to default value by @Shalini-Ashokan in #35215 <details> <summary>🔧 Fixes</summary> - [[iOS/MacCatalyst] IndicatorView does not update when IndicatorSize is dynamically changed to the default value](#35214) </details> - CollectionView selecteditem background lost if collectionview (or parent) IsEnabled changed. by @KarthikRajaKalaimani in #31540 <details> <summary>🔧 Fixes</summary> - [CollectionView selecteditem background lost if collectionview (or parent) IsEnabled changed.](#20615) </details> - [iOS/macOS] CollectionView: Fix FlowDirection not working on EmptyView by @Dhivya-SF4094 in #32674 <details> <summary>🔧 Fixes</summary> - [[iOS, MacOS] FlowDirection not working on EmptyView in CollectionView](#32404) - [[iOS, Mac] CollectionView EmptyViewTemplate content text is mirrored when FlowDirection is RightToLeft](#34522) </details> - Fix iOS CollectionView stale layout invalidations by @filipnavara in #35245 <details> <summary>🔧 Fixes</summary> - [[iOS] CollectionView tries to invalidate cells with invalid indexes](#35244) </details> - Fix Android grouped CollectionView header/footer rebind leak by @AdamEssenmacher in #35368 <details> <summary>🔧 Fixes</summary> - [Memory leak when scrolling a CollectionView with IsGrouped=true](#17698) </details> - [Windows] Fix for Item should scrolled based on the GroupHeaderTemplate by @SuthiYuvaraj in #28074 <details> <summary>🔧 Fixes</summary> - [I9_Scroll by object for grouped data - The group name is always pined at the top after clicking 'Scroll to Proboscis Monkey' button](#27922) </details> - [Android] Fix ScrollTo regression when IsGrouped true on CollectionView by @SubhikshaSf4851 in #35356 <details> <summary>🔧 Fixes</summary> - [[10.0.60] ScrollTo(0) not working anymore on CollectionView when IsGrouped="True"](#35313) </details> - [Android] Fix CollectionView scrolling performance regression by @devanathan-vaithiyanathan in #35379 <details> <summary>🔧 Fixes</summary> - [[10.0.60] CollectionView scrolling performance regression](#35344) </details> - Optimize parent dynamic resource refresh by @AdamEssenmacher in #35408 <details> <summary>🔧 Fixes</summary> - [Memory usage increases when scrolling collectionview if resources count is more than 191](#22053) </details> - Fix CI failure for CollectionView Scrolling Feature Tests due to PR #35379 by @devanathan-vaithiyanathan in #35536 - [iOS & Mac] CarouselViewController2 leaks on iOS/MacCatalyst due to unremoved orientation notification observer by @SubhikshaSf4851 in #35532 <details> <summary>🔧 Fixes</summary> - [CarouselViewController2 leaks on iOS/MacCatalyst due to unremoved orientation notification observer](#35472) </details> - Fix CollectionView.SelectedItems leaks popped views when bound to a retained ObservableCollection by @HarishwaranVijayakumar in #35558 <details> <summary>🔧 Fixes</summary> - [`CollectionView.SelectedItems` leaks popped views when bound to a retained `ObservableCollection`](#35497) </details> - Fix for Android - Dynamic Updates to CollectionView Header/Footer and Templates Are Not Displayed by @SuthiYuvaraj in #28904 <details> <summary>🔧 Fixes</summary> - [Android - Dynamic Updates to CollectionView Header/Footer and Templates Are Not Displayed](#28676) </details> - [Windows] Fix CarouselView EmptyView display when filtering to zero items by @Shalini-Ashokan in #29247 <details> <summary>🔧 Fixes</summary> - [[Windows] [Scenario Day] EmptyView using Template displayed at the same time as the content](#7150) </details> - [Android/iOS] Fix IsEnabled=False on CollectionView not working by @devanathan-vaithiyanathan in #27749 <details> <summary>🔧 Fixes</summary> - [[iOS/Android] CollectionView IsEnabled Not Working](#27770) </details> - Fix CarouselView.Loop property does not update dynamically and fails to maintain the scroll position when the loop value is changed at runtime by @devanathan-vaithiyanathan in #29527 <details> <summary>🔧 Fixes</summary> - [[Android] CarouselView.Loop = false causes crash on Android when changed at runtime](#29411) - [Loop Binding in CarouselView Not Updating Dynamically at Runtime](#29449) </details> - [iOS / Mac] Fix CollectionView.ScrollTo(index) silently failing whenIsGrouped="True" by @Dhivya-SF4094 in #35609 <details> <summary>🔧 Fixes</summary> - [CollectionView.ScrollTo(index) doesn't work correctly when IsGrouped="True" on iOS, MacCatalyst, and Windows](#35326) </details> - Fix Android nested carousel scrolling by @AdamEssenmacher in #35656 <details> <summary>🔧 Fixes</summary> - [Vertical scrolling not working for CarouselView and CustomLayouts](#7814) </details> - [Inflight regression] Fixed Test failures ModalTabbedPagePushAsyncShouldOverlayBottomNavigationView and GroupedCollectionViewScrollToIndexScrollsToCorrectItem by @Dhivya-SF4094 in #35823 - Fix CarouselView tests fail in June 8 Candidate by @devanathan-vaithiyanathan in #35825 ## Core - Reduce allocations on AnimationManager by @pictos in #35612 <details> <summary>🔧 Fixes</summary> - [AnimationManager is allocating a lot](#35654) </details> ## Core Lifecycle - Fix device test memory by @pictos in #35487 <details> <summary>🔧 Fixes</summary> - [Memory leak Device.Test pass with false positive](#35485) </details> ## Datepicker - Fix MacCatalyst DatePicker focus handling by @AdamEssenmacher in #35553 <details> <summary>🔧 Fixes</summary> - [[mauipalooza] DatePicker focus only works first time](#5947) </details> ## DateTimePicker - [Android] Fix DatePicker dialog dismisses after the device is rotated by @HarishwaranVijayakumar in #34980 <details> <summary>🔧 Fixes</summary> - [[Android] [Regression] DatePicker dialog dismisses after the device is rotated](#34973) </details> ## Docs - doc: Add paragraph to README.md explaining how to fetch the `maui` project templates by @durandt in #34561 ## Drawing - [Android] Fix LinearGradientBrush rendering as opaque black box by @SubhikshaSf4851 in #35299 <details> <summary>🔧 Fixes</summary> - [[Regression] LinearGradientBrush broken on Android in 10.0.60](#35280) - [10.0.60 breaks transparency on Brushes (on Android?)](#35354) </details> - Fix polygon points collection handler leak by @AdamEssenmacher in #35526 <details> <summary>🔧 Fixes</summary> - [PolygonHandler and PolylineHandler leak when Points is replaced before disconnect](#35387) </details> ## Editor - [iOS] Fix Editor losing scrollability after rotation when CharacterSpacing is applied by @Vignesh-SF3580 in #35309 <details> <summary>🔧 Fixes</summary> - [[.NET 10][iOS] D2 - Editor can't be scrolled after rotating simulator.](#35114) </details> - [Inflight/Candidate][iOS & Mac] Fix for Editor height inconsistency when VerticalTextAlignment is Center or End on iOS and MacCatalyst by @BagavathiPerumal in #35662 <details> <summary>🔧 Fixes</summary> - [[MAUI] D13_Customize_Text_Alignment - Text Editor Height is not consistent](#35615) </details> ## Entry - [iOS/Mac] Fix Entry clear button retaining tint color after TextColor is reset to null by @SyedAbdulAzeemSF4852 in #35177 <details> <summary>🔧 Fixes</summary> - [[iOS/Mac]Entry ClearButtonVisibility color does not reset when TextColor is set to null](#35076) </details> - [iOS/MacCatalyst] Fix Entry clear button appearing dimmed compared to TextColor by @SyedAbdulAzeemSF4852 in #35541 <details> <summary>🔧 Fixes</summary> - [[MacCatalyst] [Entry] ClearButtonVisibility color appears dimmed compared to TextColor](#35517) </details> - Fix pill-shaped focus ring on macOS 26 by @Dhivya-SF4094 in #35393 <details> <summary>🔧 Fixes</summary> - [.Net 10 Picker item not centered and wrong focus outline of Entry on Mac](#34899) </details> - Fix Entry select all text on refocus not working on WinUI by @kubaflo in #35383 ## Essentials - [Android] Fix Capture video crashes after stopping recording on Android 12 by @HarishwaranVijayakumar in #35638 <details> <summary>🔧 Fixes</summary> - [Capture video crashes after stopping recording on Android 12](#28891) </details> - [Essentials] Browser.OpenAsync(External): drop visibility-filtered ResolveActivity pre-check by @Kebechet in #35652 <details> <summary>🔧 Fixes</summary> - [Browser.OpenAsync(External) on Android throws FeatureNotSupportedException for verified App Link owner URLs even with documented <queries> fix applied](#35651) </details> ## Essentials Texttospeech - [Mac, iOS, Windows] Fix for inconsistent Text-to-Speech rate behavior by @HarishwaranVijayakumar in #32850 <details> <summary>🔧 Fixes</summary> - [[Essentials] TTS rate](#32492) </details> ## Flyoutpage - [iOS/Mac] Fix FlyoutPage RTL FlowDirection is not working by @devanathan-vaithiyanathan in #34831 <details> <summary>🔧 Fixes</summary> - [[iOS/Mac] FlyoutPage RTL FlowDirection is not working properly](#34830) </details> - [Android] Fix for Android 16 Back button is not working after command from FlyoutPage by @BagavathiPerumal in #35196 <details> <summary>🔧 Fixes</summary> - [Android: BackButton on Android 16 not working after command from FlyOutPage](#33508) </details> ## Gestures - Fix DragGestureRecognizer.DropCompleted event not firing in Android platform by @KarthikRajaKalaimani in #35179 <details> <summary>🔧 Fixes</summary> - [[Android] DragGestureRecognizer.DropCompleted event not firing](#17554) </details> - Windows: Ensure layouts without background participate in hit testing by @jpd21122012 in #34364 <details> <summary>🔧 Fixes</summary> - [[Windows] TapGestureRecognizer does NOT work on a ContentView without Background](#32279) </details> - [iOS] Fix VoiceOver dropping child labels on layouts with SemanticProperties.Hint or TapGestureRecognizer by @Vignesh-SF3580 in #35590 <details> <summary>🔧 Fixes</summary> - [[iOS] VoiceOver does not correctly describe View with GestureRecognizers](#34380) </details> ## Hybridwebview - Fix RemovePossibleQueryString to also strip URL fragments by @kubaflo in #35551 <details> <summary>🔧 Fixes</summary> - [HybridWebViewQueryStringHelper.RemovePossibleQueryString removes '?' but not other special characters e.g. '#'](#31472) </details> - [Revert] - [Windows] Fix WebView blank rendering when used with HybridWebView by @SubhikshaSf4851 in #35814 ## Image - Avoid image source layout invalidation for fixed-size views by @AdamEssenmacher in #35369 <details> <summary>🔧 Fixes</summary> - [Image source swaps thrash layout under fixed constraints, tanking frame rate when scrolling virtualized collections](#32457) </details> - [Windows] Fix Image layout inconsistency caused by async decode race in GetDesiredSize by @praveenkumarkarunanithi in #34699 <details> <summary>🔧 Fixes</summary> - [[Windows] Image cropping produces inconsistent results when window is minimized or resized](#32393) </details> - [Testing] Include more testing around Windows Image Aspect recent fixes by @kubaflo in #35620 <details> <summary>🔧 Fixes</summary> - [[Testing] Include more testing around Windows Image Aspect recent fixes](#31686) </details> - Revert PR #30068 — Fix FontImageSource centering regression on Windows by @Shalini-Ashokan in #35642 <details> <summary>🔧 Fixes</summary> - [[Windows] Image with FontImageSource is not centered and gets clipped when WidthRequest/HeightRequest equals FontImageSource Size](#35618) </details> - [Android] Fix screenshot from WebView content not working by @kubaflo in #35384 <details> <summary>🔧 Fixes</summary> - [[Android] Loading the captured screenshot from webview content to Image control does not visible](#30010) </details> ## Label - Improve label mapping performance and ensure complete coverage including ToPlatform and subsequent property changes by @Tamilarasan-Paranthaman in #31159 - Fix for Label.FormattedText leaks labels when shared FormattedString is stored in Application.Resources by @BagavathiPerumal in #35582 <details> <summary>🔧 Fixes</summary> - [`Label.FormattedText` leaks labels when shared `FormattedString` is stored in `Application.Resources`](#35495) </details> - [iOS] Fix Label Span formatting test failures on candidate branch by @Vignesh-SF3580 in #35815 ## Layout - [iOS, Mac] Fix Item spacing not properly applied between items in Horizontal LinearItemsLayout by @Dhivya-SF4094 in #35445 <details> <summary>🔧 Fixes</summary> - [[CollectionView2] Item spacing not properly applied between items in Horizontal LinearItemsLayout](#35429) </details> - [Windows] Add Automation Id support for Layouts. by @SubhikshaSf4851 in #35562 <details> <summary>🔧 Fixes</summary> - [[Windows] AutomationId does not work for ContentView, Layouts and controls that inherit them](#4715) </details> - Avoid layout diagnostics allocations without listeners by @AdamEssenmacher in #35475 <details> <summary>🔧 Fixes</summary> - [MAUI 10 layout diagnostics no-consumer path is not zero-allocation](#35473) </details> - [Windows/Android] FlexLayout: Fix wrap misalignment due to floating-point precision by @SuthiYuvaraj in #31341 <details> <summary>🔧 Fixes</summary> - [FlexLayout Wrap Misalignment with Dynamically-Sized Buttons in .NET MAUI](#30957) </details> ## Listview - Fix Binding for ListView.IsRefreshing by @bill2004158 in #28516 <details> <summary>🔧 Fixes</summary> - [Bind ListView.IsRefreshing is not work.](#28514) </details> ## Map - Fix iOS/Catalyst MapPool retention with MapElements by @AdamEssenmacher in #35480 <details> <summary>🔧 Fixes</summary> - [iOS/Mac Catalyst MapHandler leaks MAUI Map views and MapElements through MapPool](#35479) </details> - Fix Android map view lifecycle cleanup by @AdamEssenmacher in #35476 <details> <summary>🔧 Fixes</summary> - [Navigating to a page with Maps multiple times Increase RAM Usage but doesn't reduce it back after navigating back](#15257) </details> - Fix Android map element options retention by @AdamEssenmacher in #35634 <details> <summary>🔧 Fixes</summary> - [[Regression] [Android] [Maps] Map locks up after rendering 50 Polylines](#20502) </details> ## Menubar - [MacCatalyst] Fix KeyboardAccelerator with Cmd+Shift modifiers breaks entire MenuBarItem on Mac Catalyst by @KarthikRajaKalaimani in #35318 <details> <summary>🔧 Fixes</summary> - [[Bug] KeyboardAccelerator with Cmd+Shift modifiers breaks entire MenuBarItem on Mac Catalyst](#35279) </details> ## Navigation - [iOS, Mac] Fix OnBackButtonPressed not invoked for NavigationPage and Shell by @Dhivya-SF4094 in #35072 <details> <summary>🔧 Fixes</summary> - [On Screen Back Button Does Not Fire OnBackButtonPressed in Android](#9095) - [ContentPage's OnBackButtonPressed not invoked on iOS and MacCatalyst](#8296) </details> - Fix Android stale ContainerView root leak by @AdamEssenmacher in #35372 <details> <summary>🔧 Fixes</summary> - [Android: Stale ContainerView retains replaced FlyoutPage graph](#35371) </details> - [Android] Fix for predictive back-to-home animation blocked by unconditional back callback registration by @BagavathiPerumal in #35223 <details> <summary>🔧 Fixes</summary> - [OnBackInvokedCallbacks block back-to-home animation](#34594) - [Migrate to OnBackPressedCallback](#24752) </details> - Revert [Android, iOS] - Flyout icon should remain visible when a page is pushed onto a NavigationPage or Shell page with the back button disabled. by @praveenkumarkarunanithi in #35604 ## Picker - [iOS] Fix Picker CharacterSpacing lost after item selection when Title is set by @SyedAbdulAzeemSF4852 in #34974 <details> <summary>🔧 Fixes</summary> - [[iOS] Picker loses CharacterSpacing after item selection when Title is set](#34971) </details> - [iOS] Fix Picker CharacterSpacing ignored on initial load by @SyedAbdulAzeemSF4852 in #34957 <details> <summary>🔧 Fixes</summary> - [[iOS] Picker ignores CharacterSpacing on initial load](#34955) </details> - [Windows] Fix for Picker CharacterSpacing Not Being Applied to Title and Dropdown Items by @SyedAbdulAzeemSF4852 in #30612 <details> <summary>🔧 Fixes</summary> - [[Windows] Picker CharacterSpacing property not applied to Title and PickerItems text](#30464) </details> - Fix Picker SelectedIndex deferred initialization by @AdamEssenmacher in #35629 <details> <summary>🔧 Fixes</summary> - [Picker Attribute "SelectedIndex" Not being respected on page load on Android?](#9150) </details> ## Progressbar - Fix iOS ProgressBar bounding box by @AdamEssenmacher in #35507 <details> <summary>🔧 Fixes</summary> - [[iOS] ProgressBar and Label don't correctly obey height and width at the core level](#7935) </details> ## RadioButton - [Windows, Android] Fix Border Color and Border Width Not applying for Radio Button by @HarishwaranVijayakumar in #35616 <details> <summary>🔧 Fixes</summary> - [[Windows, Android] Border Color and Border Width Not applying for Radio Button.](#35587) </details> - [inflight/current] Fixes a CS0111 build failure in RadioButton.cs caused by a duplicate OnPropertyChanged override by @HarishwaranVijayakumar in #35631 - Revert - Fix TalkBack not correctly narrating RadioButtons with Content by @devanathan-vaithiyanathan in #35625 <details> <summary>🔧 Fixes</summary> - [[Android] MissingMethodException AccessibilityNodeInfoCompat.set_Checked(bool) on 10.0.70 due to AndroidX.Core 1.17 breaking change](#35584) </details> ## Refreshview - [Windows] Fix RefreshView IsRefreshing property not working while binding by @devanathan-vaithiyanathan in #34845 <details> <summary>🔧 Fixes</summary> - [[Windows] RefreshView IsRefreshing property not working while binding](#30535) </details> - [Android] Fix for RefreshView triggering pull-to-refresh when scrolling inside a WebView with internal scrollable content by @BagavathiPerumal in #34614 <details> <summary>🔧 Fixes</summary> - [[Android] RefreshView triggers pull-to-refresh immediately when scrolling up inside a WebView](#33510) </details> ## SafeArea - [Android] Fix bottom safe area padding dropping to zero when keyboard is shown by @praveenkumarkarunanithi in #35084 <details> <summary>🔧 Fixes</summary> - [[Android] Bottom insets issues when keyboard is shown.](#32871) </details> - Gate SafeArea inset listeners in recycler items by @AdamEssenmacher in #35664 <details> <summary>🔧 Fixes</summary> - [[10.0.60] CollectionView scrolling performance regression](#35344) </details> ## ScrollView - [Windows] Fix COMException when restoring a ScrollView as ContentPage.Content after swapping it out by @Vignesh-SF3580 in #35360 <details> <summary>🔧 Fixes</summary> - [COMException when clone a page's content to a object and set it back later in mainthread on Windows](#35277) </details> - Fix - ScrollView.ScrollToAsync(x, y, animated) doesn't work when called from Page.OnAppearing by @Shalini-Ashokan in #35395 <details> <summary>🔧 Fixes</summary> - [[iOS] ScrollView.ScrollToAsync(x, y, animated) doesn't work when called from Page.OnAppearing](#31177) </details> ## Searchbar - [Android] Fix SearchBar IME full-screen extract mode in landscape orientation by @SubhikshaSf4851 in #35197 <details> <summary>🔧 Fixes</summary> - [[Android] Investigate SearchBar presentation in horizontal screen orientation ](#14708) </details> - [iOS 26] Fix SearchBar layout spacing issues for small HeightRequest values by @devanathan-vaithiyanathan in #35347 <details> <summary>🔧 Fixes</summary> - [Spacing problem with maui 10.0.60 iOS](#35286) </details> ## SearchBar - [Windows] Fix SearchHandler does not focus when ShowSoftInputAsync is called by @praveenkumarkarunanithi in #35079 <details> <summary>🔧 Fixes</summary> - [[Windows] SearchHandler.ShowSoftInputAsync() does not focus the SearchHandler](#34930) </details> ## Shell - Fix Android layout jump when navigating with IME open and NavBarIsVisible=false by @jpd21122012 in #34621 <details> <summary>🔧 Fixes</summary> - [Shell page without NavBar jumping when navigating with keyboard open](#34584) </details> - [Android] Add defensive not null check to SearchHandlerAppearanceTracker.FocusChange by @Transis-Felipe in #29939 - [Android] Fix for Shell colors change before navigation completes on Android in .NET 10 by @BagavathiPerumal in #35295 <details> <summary>🔧 Fixes</summary> - [Shell colors change before navigation completes on Android in .NET 10](#35060) </details> - [Windows] Fix Shell FlyoutItem not taking full width by @SubhikshaSf4851 in #35131 <details> <summary>🔧 Fixes</summary> - [MAUI WinUI Grids don't render properly in flyout menu](#19542) - [[Windows] [.NET 8 RC2] FlyoutItem Backgroundcolor Is not fully displaying](#18238) </details> - [Android, iOS, Catalyst] Fix SearchHandler.BackgroundColor cannot be reset to null by @HarishwaranVijayakumar in #35224 <details> <summary>🔧 Fixes</summary> - [[Android, iOS, Catalyst] SearchHandler.BackgroundColor cannot be reset to null](#35088) </details> - Fix for ApplyQueryAttributes being called on non-destination pages during back navigation by @BagavathiPerumal in #35392 <details> <summary>🔧 Fixes</summary> - [ApplyQueryAttributes gets called for not activated (navigated to) page on back](#35183) </details> - [Android] Fix Shell flyout background to follow Material 3 theme colors by @SyedAbdulAzeemSF4852 in #35148 <details> <summary>🔧 Fixes</summary> - [[Android] Shell Flyout ignores Material 3 surface color when UseMaterial3 is enabled](#35147) </details> - [Android] Fix Shell.FlyoutHeader background incorrect by @SyedAbdulAzeemSF4852 in #35489 <details> <summary>🔧 Fixes</summary> - [[Android] Shell.FlyoutHeader background is incorrect](#35416) </details> - [iOS/MacCatalyst] Fix Shell.BackgroundColor not applied to bottom TabBar by @Shalini-Ashokan in #35545 <details> <summary>🔧 Fixes</summary> - [[MacCatalyst] Shell.BackgroundColor not applied to bottom TabBar](#35380) - [[Catalyst] Shell.TabBarBackgroundColor is not applied](#35381) </details> - [Android] Fix Shell FlyoutIcon tint loss after navigation by @SyedAbdulAzeemSF4852 in #35561 <details> <summary>🔧 Fixes</summary> - [[Android] The flyout icon loses colours](#35390) </details> - [iOS] Fix Shell - opened keyboard on modal page shifts parent page/frame behind modal after update to 10.0.60 by @KarthikRajaKalaimani in #35559 <details> <summary>🔧 Fixes</summary> - [[iOS] Shell - opened keyboard on modal page shifts parent page/frame behind modal after update to 10.0.60](#35401) </details> - Fix intermediate pages not receiving query parameters in multi-page Shell navigation by @mattleibow in #35432 <details> <summary>🔧 Fixes</summary> - [Shell GoToAsync: no way to pass query parameters to intermediate pages in multi-segment navigation](#35107) </details> - [Windows] Fix Shell title bar overlap with window controls in RTL mode by @Shalini-Ashokan in #33109 <details> <summary>🔧 Fixes</summary> - [[Windows] Binding RTL FlowDirection in Shell causes Flyout MenuIcon and native window controls to overlap](#32476) </details> - [macOS] Fix IsEnabled property false not working on MenuBarItem by @devanathan-vaithiyanathan in #35546 <details> <summary>🔧 Fixes</summary> - [[macOS] IsEnabled property false not working on MenuBarItem](#34038) </details> - Fix Android Shell top inset when nav bar is hidden by @ne0rrmatrix in #35555 <details> <summary>🔧 Fixes</summary> - [wrong statusbar height when Android device has a notch](#35103) </details> - Fix Changing Content property of ShellContent doesn't change visual content by @devanathan-vaithiyanathan in #34630 <details> <summary>🔧 Fixes</summary> - [Changing Content property of ShellContent doesn't change visual content. ](#12669) </details> - Fixed a NullReferenceException when starting application with empty shell on Windows by @Shalini-Ashokan in #28879 <details> <summary>🔧 Fixes</summary> - [NullReferenceException when starting application with empty shell on Windows](#21562) - [Using SelectionChangedCommand with CollectionView in Shell.FlyoutContent results in Win32 Unhandled Exception](#10041) </details> ## Slider - [iOS] Slider: Scale ThumbImageSource to match default thumb size by @NirmalKumarYuvaraj in #34184 <details> <summary>🔧 Fixes</summary> - [[Slider] MAUI Slider thumb image is big on android](#13258) </details> ## Stepper - Fix iOS 26 Stepper overlap in landscape by @AdamEssenmacher in #35374 <details> <summary>🔧 Fixes</summary> - [[.NET10] D10-The number and buttons overlap after rotating the simulator.](#35211) </details> ## SwipeView - Fix SwipeViews with invoked properties crash the app in Release mode by @BagavathiPerumal in #35208 <details> <summary>🔧 Fixes</summary> - [[iOS/Catalyst] Swipeviews with invoked properties crash the app in Release](#18055) </details> - Fix SwipeItemView command leak by @AdamEssenmacher in #35510 <details> <summary>🔧 Fixes</summary> - [`SwipeItemView.Command` leaks row views and command parameters through `CanExecuteChanged`](#35498) </details> - [iOS/Android] Fix SwipeItem.IsVisible not refreshing native swipe items when binding changes by @SyedAbdulAzeemSF4852 in #35217 <details> <summary>🔧 Fixes</summary> - [SwipeItem.IsVisible doesn't properly refresh the native swipe items when the binding value changes dynamically](#34832) </details> - Fix SwipeView memory leak when SwipeItems are reused or replaced by @Vignesh-SF3580 in #35539 <details> <summary>🔧 Fixes</summary> - [SwipeView leaks when SwipeItems are reused or replaced](#35481) </details> - Fix SwipeItem IconImageSource color handling and rendering across platforms by @Shalini-Ashokan in #35632 <details> <summary>🔧 Fixes</summary> - [[Android] SwipeItem IconImageSource should allow more configuration](#23074) </details> ## Switch - [Android/Windows] Fix RadioButton gradient not clearing when switching background by @Shalini-Ashokan in #34997 <details> <summary>🔧 Fixes</summary> - [RadioButton Background does not reset when set to null at runtime](#34993) </details> - [Windows] Fix "PlatformView cannot be null here" exception during handler disconnect by @kubaflo in #35314 <details> <summary>🔧 Fixes</summary> - ["PlatformView cannot be null here" Exception in Switch control [Windows]](#27101) </details> - [iOS 26] Fix Switch ThumbColor and OffColor not applied on initial load by @SyedAbdulAzeemSF4852 in #35400 <details> <summary>🔧 Fixes</summary> - [iOS 26 Switch default color for Off and On is incorrect + Off Color is not applied at start + Thumb Colors is not applied](#35257) </details> - [Android] Fix AppBar flicker on CheckBox/Switch toggle with Material 3 by @Dhivya-SF4094 in #35181 <details> <summary>🔧 Fixes</summary> - [[Android] AppBar flicker while changing the CheckBox or Switch state after scrolling in Material 3](#35180) </details> - [Android] Fix Switch Shadow Does Not Follow Thumb when Toggle On or Off by @Dhivya-SF4094 in #35623 <details> <summary>🔧 Fixes</summary> - [[Android] Switch Shadow Does Not Follow Thumb when Toggle On or Off](#30046) </details> ## TabbedPage - [Android] Fix TabbedPage truncating tab titles instead of scrolling by @Shalini-Ashokan in #35086 <details> <summary>🔧 Fixes</summary> - [Maui migrating Xamarin to Maui - Tabbed Page Scroll Issue - Tabs are not scrolling](#16470) </details> - [Android] Fix BottomNavigationView remaining visible for TabbedPage inside modal NavigationPage after PushAsync by @Dhivya-SF4094 in #35359 <details> <summary>🔧 Fixes</summary> - [Android TabbedPage inside Modal Navigation does not overlay BottomNavigationView after PushAsync in .NET MAUI 10.0.60](#35331) </details> - [Android & iOS] TabbedPage leaks with shared GradientBrush. by @SubhikshaSf4851 in #35543 <details> <summary>🔧 Fixes</summary> - [TabbedPage leaks renderer/manager when BarBackground uses shared GradientBrush resource](#35469) </details> ## Templates - Bumps Syncfusion.Maui.Toolkit dependency to version 1.0.10 by @PaulAndersonS in #35608 ## Toolbar - Fix Android app bar inset background coloring by @ne0rrmatrix in #35601 <details> <summary>🔧 Fixes</summary> - [Android Edge-to-Edge: Shell and NavigationPage Top Bar colour is not used for status bar.](#35568) </details> ## Tooling - Add default .gitignore to MAUI project templates by @davidortinau in #34862 <details> <summary>🔧 Fixes</summary> - [Add a gitignore file to the Maui template in VS 2022](#4131) </details> - Fix: Propagate AdditionalProperties from ProjectReference in ResizetizeCollectItems by @mattleibow in #35575 <details> <summary>🔧 Fixes</summary> - [Resizetizer GetMauiItems does not propagate ProjectReference AdditionalProperties](#35574) </details> ## WebView - [Windows] Fix WebView blank rendering when used with HybridWebView by @SubhikshaSf4851 in #35092 <details> <summary>🔧 Fixes</summary> - [[Windows] WebView Regression from NET9 to NET10](#34558) </details> - Fix AOT integration test failures: suppress IL3050/IL2026 for HybridWebViewHandler in AddControlsHandlers by @mattleibow via @Copilot in #34868 - Fix Android activity result callback leak by @AdamEssenmacher in #35436 <details> <summary>🔧 Fixes</summary> - [Android WebView file chooser callbacks leak via ActivityResultCallbackRegistry](#35405) </details> - [Windows] Fix WebView Does Not Inherit App Theme by @devanathan-vaithiyanathan in #35037 <details> <summary>🔧 Fixes</summary> - [WebView on Windows Does Not Inherit App Theme](#34823) </details> - Fix for WebView leaks when reusing a shared WebViewSource by @BagavathiPerumal in #35524 <details> <summary>🔧 Fixes</summary> - [WebView leaks when reusing a shared WebViewSource](#35483) </details> - Destroy Android WebView on handler disconnect by @AdamEssenmacher in #35552 <details> <summary>🔧 Fixes</summary> - [Right way to dispose page with WebView](#18021) </details> ## Xaml - Fix: Enable VisualStateManager to set Style property dynamically by @Shalini-Ashokan in #33389 <details> <summary>🔧 Fixes</summary> - [Setting the `Style` property using the `VisualStateManager` within a Style resource does not work](#17175) </details> - Fix Implicit parameter conversion from integer to byte fails with source generated XAML by @KarthikRajaKalaimani in #35444 <details> <summary>🔧 Fixes</summary> - [Implicit parameter conversion from integer to byte fails with source generated XAML](#35396) </details> <details> <summary>🔧 Infrastructure (3)</summary> - Fix: Build fails when appicon is an empty (but valid) SVG by @Shalini-Ashokan in #35305 <details> <summary>🔧 Fixes</summary> - [Build fails when appicon is an empty (but valid) svg after upgrade to 10.0.60](#35293) </details> - [inflight/current] Fix CS0111 duplicate GetNativeCharacterSpacing in PickerHandlerTests.iOS by @SyedAbdulAzeemSF4852 in #35419 - Update WinAppSDK to 1.8.260508005 by @kubaflo in #35678 </details> <details> <summary>🧪 Testing (3)</summary> - Backport Test Fixes and Snapshots from SR to Inflight Branch by @Tamilarasan-Paranthaman in #35499 - Fix hardcoded version of Microsoft.DotNet.XHarness.TestRunners.Xunit in test projects by @akoeplinger in #29905 - [Testing] Fixed Build error on inflight/ candidate PR 35716 by @HarishKumarSF4517 in #35730 </details> <details> <summary>🏠 Housekeeping (1)</summary> - [HouseKeeping] Fix inconsistant namespace in HostApp by @NirmalKumarYuvaraj in #35210 </details> <details> <summary>📦 Other (8)</summary> - Add .cab and ReconnectModal.razor.js to signing config by @jesuszarate in #35026 - Fix typo in Clipboard.shared.cs by @Deadpikle in #35316 - Fix single modifier for NSMenuItem accelerators by @jeremy-visionaid in #35351 - Avoid unnecessary LINQ enumerations by @jeremy-visionaid in #35272 - [Testing] Replace retryDelay with retryTimeout in UI tests by @kubaflo in #35367 - Replace JavaFinalize() with Dispose(bool) in GenericAnimatorListener by @jonathanpeppers in #35548 - Fix incorrect SDK provisioning commands in integration-tests instructions by @davidnguyen-tech in #34992 - Fix VisualElement.ChangeVisualState() gets stuck in Selected state by @Dhivya-SF4094 in #35421 <details> <summary>🔧 Fixes</summary> - [VisualElement's ChangeVisualState gets stuck in Selected state](#35399) </details> </details> <details> <summary>📝 Issue References</summary> Fixes #4131, Fixes #4715, Fixes #5947, Fixes #7150, Fixes #7814, Fixes #7935, Fixes #8296, Fixes #9095, Fixes #9150, Fixes #10041, Fixes #12669, Fixes #13258, Fixes #14708, Fixes #15257, Fixes #16470, Fixes #17175, Fixes #17554, Fixes #17698, Fixes #18021, Fixes #18055, Fixes #18238, Fixes #19542, Fixes #19668, Fixes #20502, Fixes #20615, Fixes #21562, Fixes #22053, Fixes #23074, Fixes #24752, Fixes #27101, Fixes #27627, Fixes #27770, Fixes #27922, Fixes #28514, Fixes #28676, Fixes #28891, Fixes #29411, Fixes #29449, Fixes #30010, Fixes #30046, Fixes #30404, Fixes #30464, Fixes #30535, Fixes #30957, Fixes #31048, Fixes #31177, Fixes #31472, Fixes #31686, Fixes #32279, Fixes #32393, Fixes #32404, Fixes #32457, Fixes #32476, Fixes #32492, Fixes #32731, Fixes #32871, Fixes #33508, Fixes #33510, Fixes #33780, Fixes #34038, Fixes #34104, Fixes #34257, Fixes #34380, Fixes #34522, Fixes #34558, Fixes #34584, Fixes #34594, Fixes #34823, Fixes #34830, Fixes #34832, Fixes #34899, Fixes #34930, Fixes #34955, Fixes #34971, Fixes #34973, Fixes #34993, Fixes #35060, Fixes #35076, Fixes #35088, Fixes #35103, Fixes #35107, Fixes #35113, Fixes #35114, Fixes #35147, Fixes #35180, Fixes #35183, Fixes #35211, Fixes #35214, Fixes #35244, Fixes #35257, Fixes #35277, Fixes #35279, Fixes #35280, Fixes #35286, Fixes #35293, Fixes #35313, Fixes #35326, Fixes #35331, Fixes #35344, Fixes #35354, Fixes #35371, Fixes #35380, Fixes #35381, Fixes #35387, Fixes #35390, Fixes #35396, Fixes #35397, Fixes #35399, Fixes #35401, Fixes #35405, Fixes #35416, Fixes #35429, Fixes #35469, Fixes #35472, Fixes #35473, Fixes #35479, Fixes #35481, Fixes #35483, Fixes #35485, Fixes #35492, Fixes #35495, Fixes #35497, Fixes #35498, Fixes #35513, Fixes #35517, Fixes #35568, Fixes #35573, Fixes #35574, Fixes #35584, Fixes #35587, Fixes #35615, Fixes #35618, Fixes #35651, Fixes #35654 </details> **Full Changelog**: main...inflight/candidate
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Issue Details
On iOS and MacCatalyst, when a container layout (for example, VerticalStackLayout) has SemanticProperties.Hint set, with or without a TapGestureRecognizer, VoiceOver focuses the entire layout as a single accessibility element but reads only the Hint, ignoring all child label text.
On Android, TalkBack handles the same layout correctly by reading the child text followed by the hint.
Root Cause
iOS accessibility uses a flat accessibility model. A UIView can either behave as:
It cannot behave as both at the same time. The previous MAUI implementation in SemanticExtensions.UpdateSemantics marked layouts with Hint or Description as IsAccessibilityElement = true and assigned AccessibilityHint = Hint, but never populated AccessibilityLabel. As a result, VoiceOver read only the hint, while all child content was hidden because the layout became a leaf accessibility element.
Why Android is unaffected
Android accessibility uses a hierarchical accessibility model. TalkBack walks the native view tree and reads both parent and child accessibility content together.
For example, on a VerticalStackLayout with Hint = "more info" containing two labels, TalkBack naturally announces:
"[label1], [label2], more info". There is no parent/child exclusivity like on iOS. The MAUI Android implementation sets accessibility properties such as ContentDescription and ImportantForAccessibility per view, and TalkBack correctly combines them while traversing the tree.
Description of Change
SemanticExtensions.cs: For ILayout views with Hint set, the fix now populates AccessibilityLabel before promoting the layout to an accessibility element. If Description is provided, it is used directly as the label. Otherwise, the label is synthesized from child IText content. This allows VoiceOver to read both the layout content and the hint together as a single focus unit.
The fix also resets IsAccessibilityElement back to false when both Hint and Description are later cleared from the layout.
GesturePlatformManager.iOS.cs: The existing ShouldGroupAccessibilityChildren value is now captured before modification and restored during cleanup.
Also added an AccessibilityActivateCallback registration on MauiView to improve MacCatalyst Ctrl+Option+Space tap reliability, since UIKit’s default activation path is unreliable on Catalyst.
MauiView.cs: Added AccessibilityActivateCallback : Func? and overrode AccessibilityActivate() so the callback can invoke TapGestureRecognizer.SendTapped() directly.
Issues Fixed
Fixes #34380
Screenshots
iOS:
34380BeforeFix.mov
34380AfterFix.mov
Mac:
34380MacBeforeFix.mov
34380MacAfterFix.mov