← Back to wkappbot-core
wkappbot-core ★★☆

# a11y close and trusted-click FocusSafe guard

FocusSafe.ShouldYieldToActiveUser guard added before a11y close and trusted-click operations to prevent focus stealing when user is active (idleMs<1500). Mirrors InspectionCommands guard pattern.

user/developer

## Steps

1. A11yCommand.WindowActions.cs:221 -- guard be...
2. AskCommands.Attachments.FileInput.cs:300 --...
3. AskCommands.Attachments.FileInput.cs:341 --...
4. --force flag bypasses guard for explicit kil...
5. Returns false/yields silently when user acti...
6. Verified 2026-04-26: test-a11y-close-focusst...
7. Verified 2026-04-26: test-ask-trusted-click-...