List of steps to reproduce (step by step, including full links if applicable):
- Navigate to Special:MediaSearch and search for something on the images tab
- Use the keyboard to navigate to the search results grid (keep hitting TAB)
- Hit enter to open the quickview once a particular search result is focused (will have a blue outline)
- Focus is now moved to the "close" icon in the top-left corner of the quickview. Hit enter again to close the panel.
The panel closes, but focus is not restored to the originating search result in the grid
What should have happened instead?:
Users who close the quickview panel via keyboard interaction (*not* clicking the button with the mouse) should have their focus restored to the search result in the grid that they had previously focused on.