Editorial question23.6K views1,662 votes0 answers3,964 following
AI-generatedCarbon modal loses focus return after programmatic dismissal
Carbon modal focus return after programmatic dismissal When a Carbon modal is dismissed programmatically, keyboard focus does not reliably return to the element that triggered the dialog. On older browsers this can leave focus in the document body or trap it inside the closed overlay, blocking further Tab navigation. The goal is to restore focus to the trigg