
Dear Raghavan Veettil,
Welcome! I am a Support Engineer specializing in Microsoft Edge, and I’m happy to assist you today.
The issue you’re experiencing relates to keyboard shortcuts (accesskeys), such as Alt+C, not always working as expected in Microsoft Edge. This typically occurs because different browsers and operating systems handle accesskey shortcuts in various ways. Sometimes, the shortcut only focuses the button instead of activating it, or it may conflict with built-in browser or system shortcuts.
Here’s how you can troubleshoot and resolve this:
- Please ensure you are using the correct keyboard shortcut for your browser and operating system. For Microsoft Edge on Windows, it is typically Alt + [key]. (Refer to the table and links below for other combinations.)
- If the shortcut still does not activate the button, we recommend adding a JavaScript event handler to your website to listen for the desired key combination (e.g., Alt+C) and trigger the button action automatically. This ensures the shortcut works reliably across browsers. Example solution:
(Result: After updating your page with this script, pressing Alt+C should reliably trigger the button action in Microsoft Edge and other browsers.)document.addEventListener('keydown', function(e) { if (e.altKey && e.code === 'KeyC') { e.preventDefault(); document.getElementById('your-button-id').click(); } });
For more information, please refer to the following documentation:
👉 MDN Web Docs – Accesskey
👉 WAI-ARIA Authoring Practices – Keyboard Shortcuts
I hope this helps you resolve the issue quickly! If you agree with our suggestion, please try the steps above and let us know if you need any further assistance.