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

# a11y focus: SmartSetWindowOrder + full tier chain (v6.8+)

WKAppBot complete OS-level focus service spec. SmartSetWindowOrder is the single focusless Z-order primitive — called before all interactive write actions and focus commands. Zero keyboard-focus steal from user at all times.

user/developer
a11y focus SmartSetWindowOrder BringWindowToTop focusless tier-chain child-window root-window

## Steps

1. SMART WINDOW ORDER — SmartSetWindowOrder(hwn...
2. WINDOW-LEVEL FOCUS — A11yFocus(hwnd, tag) [A...
3. ELEMENT-LEVEL FOCUS — A11yFocusElement(el, h...
4. WRITE ACTION PRE-FOCUS — A11yCommand.cs elem...
5. ZERO-STEAL RULES (absolute, no exceptions):...
6. OVERLAY GUARD + SOURCE FILES SuppressFullscr...
7. FOCUSLESS-FIRST PRINCIPLE (cross-ref: skill...
8. COMMON PITFALLS: DON'T use SetForegroundWind...
9. VERSION HISTORY: v1.0 (2026-05-03): initial...
10. FOCUS-STEAL bug investigation (2026-05-19):...
11. FOCUS-STEAL fix dispatch (2026-05-19 18:40):...
12. Verified 2026-05-19: ev-2026-05-19-1840-focu...

🔒 Pro Skill
Get Pro Access →