[BUG][A11y] Windows desktop: bypass-permissions confirmation dialog renders off screen at the end of the page and never takes focus
I'm blind. Keyboard and NVDA, no mouse, Claude Desktop on Windows.
Switch permission mode to bypass permissions and the app goes quiet. Focus does not move, NVDA says nothing, and as far as I can tell nothing happened at all.
Something did happen. There is a confirmation dialog waiting on me and it is sitting at the very bottom of the page, past the end of everything else, on its own layer and not drawn. If I navigate all the way down there I find it, and pressing Enter on it brings it into view, and from that point on it behaves like a dialog.
What I want is the ordinary thing a modal does. Focus moves into it when it opens, NVDA says it is a dialog and reads the question, Escape backs out, and focus goes back where it was when the dialog closes.
This matters more than an off screen popup normally would, because it blocks. The app is waiting on an answer and there is nothing anywhere telling me an answer is wanted. A session that has stopped responding and a session waiting on an invisible dialog sound exactly the same to me.
I cannot read your code so this is a guess: portalled to the end of the body, focus never moved into it, and probably no dialog role on it either. If that is it, then move focus on open, role="dialog" with aria-modal, and put focus back on close.
Claude Desktop 1.24012.9 from the Microsoft Store. Windows 11 IoT Enterprise LTSC 2024, build 26100. NVDA 2026.1.1. I will test a build if you want one tested.