No focus is set after opening preferences and scrolling with openPreferences
I opened https://bugzilla.mozilla.org/show_bug.cgi?id=1799153 upstream. Basically, when we call openPreferences
even though the category is scrolled into view and highlighted it does not contain the focus, which remains in the search input. This can be confusing when using a screen reader.
There are two specific cases where we want to correct this in tor browser:
- The security level preference. See #32274 (comment 2835216)
- The language notification from #41378 (closed)
I'll put in a patch for us to use in tor browser for the time being, and we'll see later if we want to adopt the patch from upstream.