--- url: "https://webaim.org/discussion/mail_message?id=50832" titulek: "WebAIM: E-mail List Archives" h1: "E-mail List Archives" popis: "" jazyk: "en" kanonicka: "" drobecky: ["You are here:", "Home", "Community", "E-mail List Archives"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-15 14:46:41" znaku: 2304 slov: 319 kodovani: "utf-8" sha256: "fb531cec8810985a17289099d7b256ac5ccd9b38be78a63da6b1110735ccd9ef" --- # E-mail List Archives You are here: [Home](/) > [Community](/community/) > [E-mail List Archives](/discussion/archives) > View Message **From:** Jonathan Cohn **Date:** Apr 25, 2025 5:15PM - **Next message:** [Steve Green: "Re: weird focus behavior"](mail_message?id=50835) - **Previous message:** [Mike Warner: "Re: weird focus behavior"](mail_message?id=50834) - **Next message in Thread:** [Steve Green: "Re: weird focus behavior"](mail_message?id=50835) - **Previous message in Thread:** [Mike Warner: "Re: weird focus behavior"](mail_message?id=50834) - [View all messages in this Thread](mail_thread?thread=11219) --- This does not sound like the write behavior on the part of the browser. If this is occurring in Chrome, have you tried Firefox? > On Apr 25, 2025, at 2:03 PM, Mike Warner via WebAIM-Forum < > wrote: > > Well, this is interesting. As I'm testing a website using a keyboard > without a screen reader, closing a dialog by hitting escape or tabbing to > and activating a close button, the focus returns to the button that opened > the dialog. When using JAWS and NVDA, the focus gets lost and goes to the > body tag. When I have a live expression in the developer console to see the > active element (document.activeElement), I can see clearly that the active > element is the body after closing the dialog. That said, after closing the > dialog, both screen readers announce the dialog opener button and if I do > nothing else, hitting enter right after closing the dialog will open the > dialog again. NVDA's focus indicator also shows that the body tag has the > focus. Hitting the tab key after closing the dialog with NVDA or JAWS > brings me to the skip menu, which is the first focusable element on the > page. > > Has anyone else encountered this? > > Thanks, > Mike Warner > Director of IT Services > MindEdge Learning > --- - **Next message:** [Steve Green: "Re: weird focus behavior"](mail_message?id=50835) - **Previous message:** [Mike Warner: "Re: weird focus behavior"](mail_message?id=50834) - **Next message in Thread:** [Steve Green: "Re: weird focus behavior"](mail_message?id=50835) - **Previous message in Thread:** [Mike Warner: "Re: weird focus behavior"](mail_message?id=50834) - [View all messages in this Thread](mail_thread?thread=11219&id=50832#50832)