I want to do speech to text convertion in a web application(based on jQuery). There are some codes available online in which speech to text is working only in Chrome but not on Edge browser.

I see Microsoft Dictate is the only option in Edge browser and also comes with high accuracy. With win key + h, we can enable Dictate option but I want to enable it when clicking a button in the web application.

Can anyone suggest an idea to fire windows key + h combination from javascript or jQuery?