When a user interact with the file picker for the first time and use a keyboard, the repositories are not focusable.
This only happens at the first interaction where the repository preference is not yet stored in the database.
The issue was discovered on Chrome on Windows 10 and was also reproduced on Firefox and Safari on Mac.
Steps to reproduce:
- Create a new user (or remove the filepicker_recentrepository entry in the user_preferences table)
- Login as the new user
- Create a new course and press tab to go to the Course Image field and press enter on the file upload button.
- Select an item from the repository list using the keyboard
- Notice that the list does not take focus
Video showing the issue: