Skip to content

Commit 1863267

Browse files
committed
Remove comments on accessibility configuration
Removed comments explaining the accessibility setup for the overlay Grid and PopupBorder. No functional changes were made to the accessibility behavior, as the relevant `AutomationProperties.SetIsInAccessibleTree` calls remain unchanged. The comments were likely removed for clarity or to reduce redundancy.
1 parent a54d5b8 commit 1863267

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/CommunityToolkit.Maui/Views/Popup/PopupPage.shared.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,6 @@ public PopupPageLayout(in Popup popupContent, in IPopupOptions options)
251251

252252
Children.Add(PopupBorder);
253253

254-
// Configure accessibility:
255-
// - Exclude the overlay Grid from accessibility to hide the background dimming area
256-
// - Exclude the PopupBorder from accessibility (it's just a visual container)
257-
// - Popup and its inner content children will be accessible directly
258254
AutomationProperties.SetIsInAccessibleTree(this, false);
259255
AutomationProperties.SetIsInAccessibleTree(PopupBorder, false);
260256
}

0 commit comments

Comments
 (0)