DEV: Use a better selector for search menu (PR #14390)

“.search-menu” matches the parent element of the element that was previously selected. This is a better choice because it offers some flexibility over the DOM structure without breaking the keyboard shortcuts.

GitHub