When a panel is closed via panel.hide() or by pressing Escape, the input focus is completely lost (tested in Firefox 46.0a1 nightly on OS X 10.11). You can press Tab all you want, no element will be focused. I assume that the focus is on the content area of the panel which is no longer visible. It should be set to the browser content area instead. Code setting input focus on the browser content area already exists for sidebars (see https://github.com/mozilla/addon-sdk/blob/5ac44b7e088c986bbbd8aaea57b95738eb071ead/lib/sdk/ui/sidebar/view.js#L205). AFAICT that's the only work-around right now, to let people do something useful with keyboard only after a panel is closed - you have to create a temporary sidebar, open it, close and dispose again. Needless to say, that's a huge hack even though it doesn't seem to cause any visual effect.
Status: NEW → RESOLVED
Last Resolved: 9 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.