Keyboard Navigation locked after Close/Cancel File Chooser on EdgeHTML #686
Description
I have found the following problem on Microsoft EdgeHTML in several pages when doing keyboard navigation. When I open the file chooser(input file type tag) to add a new file(e.g. attaching a file from my computer to an email), if I close it without adding a new file, then it is impossible for me to continue with my keyboard navigation.
Initially, I thought that the focus was locked on the last element that was selected before opened the file chooser, but it seems as if the Edge browser is not the main application in that moment, so when I press the tab key, the browser is not affected. The only work around that I found was to click directly into the browser, that way, the keyboard events would be triggered again.
I used a simple HTML file to test this issue and replicate it. The code of the page is attached here
example.txt
Also, I did a video showing the issue https://youtu.be/9RbvLPt8LkU