WPF ALT-S Key Combination Not Working
The accesskey attribute works as expected in CEF and the WinForms sample, but the keystroke seems to be intercepted in a Wpf application.
Steps to reproduce: Run CefSharp.Wpf.Example. Navigate to http://www.w3.org/WAI/UA/TS/html401/cp0101/0101-ACCESSKEY-INPUT.html Press Alt+s No action is taken
Run CefSharp.WinForms.Example Navigate to http://www.w3.org/WAI/UA/TS/html401/cp0101/0101-ACCESSKEY-INPUT.html Press Alt+s The page is redirected because of the accesskey attribute
Have you tried debugging the examples using the CefSharp source code and seeing what the problem might be?
Relevant code you might want to put breakpoints at:
Forwarding Windows key messages https://github.com/cefsharp/CefSharp/blob/b81da7bd5ad2e3b10bad21f213b8cf1e251c9e5e/CefSharp.Wpf/ChromiumWebBrowser.cs#L615-L640
A comment about weirdness in not all key presses being sent as WM_ messages and extra special handling: https://github.com/cefsharp/CefSharp/blob/b81da7bd5ad2e3b10bad21f213b8cf1e251c9e5e/CefSharp.Wpf/ChromiumWebBrowser.cs#L850-L862
Does this bug also occur in CEF's cefclient.exe test application with offscreen rendering enabled? I.e. is this a CEF issue or a CefSharp issue?
The page is redirected because of the accesskey attribute
As @jankurianski suggests the problem isn't with the accesskey attribute it's the keyboard handling.
I've created merged #695 into the cef/2171 branch, so your welcome to test this again against that branch.