0

I haven't written any extensions but am wondering if this is possible. I did some looking up, it looks like its possible to open an extension's popup with browserAction.openPopup() (MDN link), and have it triggered with a command. You can also open an extension's sidebar if it has one.

However, I haven't found anything for navigating the extension UI itself. Like, if I do have a popup window like shown below, how can I add keyboard navigation for it? I'd want the keyboard focused on the popup, to move around and press the buttons with just the keyboard, as well as exit the pop with the keyboard.

enter image description here

Oneechan69
  • 200
  • 1
  • 7
  • Doesn't this largely already happen automatically, particularly when sticking to normal HTML design wrt. keyboard navigation? Doesn't pressing Esc already close and exit the popup? The popup is just a normal HTML page. It should behave normally with respect to keyboard navigation. What is it that you're actually having a problem with? What has made you think that this wouldn't "just work" as it does in any normal HTML page displayed by the browser? – Makyen Jun 20 '23 at 18:12

0 Answers0