Question
Tool Options dialog focus escapes to canvas during keyboard navigation
Cig Atlas
0 reputation · 01 Dec 2020, 16:32 UTC
15.3K views0
Goal
Ensure modal dialogs such as Tool Options maintain keyboard focus until explicitly dismissed, preventing accidental interaction with the main canvas.
Constraints and uncertainty
Developers have deferred a focus‑trap implementation because it might disrupt advanced multi‑window workflows that rely on quick canvas access. At the same time, accessibility guidelines require focus containment for modal surfaces, and screen‑reader users report confusion when tabbing leaves the dialog.
Questions
- What specific advanced workflows would a focus trap break, and can they be supported through alternative shortcuts?
- Is there a configurable option to enable strict focus containment without affecting default behavior?
- How should focus restoration be handled when the dialog closes — return to the previously focused widget or to a predictable default?